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 / mallikarjuna g

System : It is a standard java class. It comes from the
java.lang package. it is bydefault package.
Out : The class system contains static field named "out".
so System.out referes to the value stored in that static
filed. the value System.out is an object of the class
printStream from the standard java package java.io.
Println() : it is the instance method come from the
PrintStream class.

so System.out.println() calls the "Println()" method
associated with the "printStream" object referred to by
static field "out"

Is This Answer Correct ?    55 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Concept of Encapsulation in OOPS

938


Explain the difference between runnable and callable interface in java?

1001


What’s the difference between callable and runnable?

1022


Is set sorted in java?

877


Are there structures in java?

908


What type of language is java?

938


When should the method invokelater() be used?

972


What are sets in java?

888


Is linkedlist thread safe in java?

941


How do you start a thread?

978


Where is const variable stored?

887


What initialize variables?

948


Can a variable be local and static at the same time?

943


What happens to the Exception object after handling an exception?

2323


Is final static java?

953