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...

explain System.out.println

Answer Posted / prashant

System : It is a java class in the java.lang package.

Out : it is a static field in System class.it holds the
reference of an object of the class printStream.

Println() : it is the method in the
PrintStream class.

so because out is static we can call it using class name
and because of it is returning object we can call methods
present in the object.and one of the method is println.

Is This Answer Correct ?    12 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between a threads start() and run() methods? : Java thread

1011


What is the use of parse function in java?

979


What is the difference between == and === javascript?

1178


How is a variable stored in memory?

1004


What is difference between local variable and global variable?

1016


What is == and === in javascript?

1055


What is the static variable?

1122


How do you detect memory leaks?

1058


Are private methods final?

901


Is java se open source?

1027


Why is string class considered immutable?

1050


What is a predicate method?

1014


What is difference between identifier and variable?

1062


What does it mean that strings are immutable?

1127


Can array grow dynamically in java?

981