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 / java-novice

System is a class.
out is a public static class variable of the System class.
NOTE: "out" Must be declared public. Otherwise, we cannot
access it as "System.out"
out is of type PrintStream
println is an overloaded method of PrintStream class.
(That's why println method accepts strings, boolean values
or char values)

Here is a good article on that.

http://ruchiram4.blogspot.com/2009/05/java-systemoutprintln-explained-in-oop.html

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the basic interfaces of java collections framework?

1046


How does queue work in java?

936


Which is dependent variable?

839


What is sizeof in java?

1052


Is java 1.7 the same as java 7?

990


Explain about assignment statement?

977


Can static methods access instance variables in java?

1024


Is assembly language a low level language?

870


What is callablestatement? How you can call stored procedure to pass in parameter?

981


What is string builder in java?

953


How do you replace a string in java?

962


Give me an example of array and linked list? Where they can be used?

958


What is immutability in java?

1035


What is bubble sort in java?

991


What is the full form of jpeg?

903