Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why cant we define System.out.println() inside a class
directly?

Answer Posted / chandan

because a class is a logical structure and its definition is
group of entities but when we need some functionality we
need to define inside the function

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bytecode in java ?

1196


What does pointer mean?

1069


What is append in java?

1171


What is a Presistent Object?

1240


Can a class be declared as protected?

1016


What do you mean by multithreaded program?

1013


Name four container classes.

994


What are kinds of processors?

994


what is mutual exclusion? : Java thread

1025


Is singleton set an interval?

969


Explain the importance of join() method in thread class?

1098


Write code to implement bubble sort in java?

1002


What are 5 boolean operators?

1181


What is meant by singleton class?

1039


What is difference between path and classpath?

1180