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 do you understand by final value?

1056


Tell me about your ability to work under pressure

2193


What are the advantages and disadvantages of reference counting in garbage collection?

1025


Define an abstract class with reference to java.

994


What is null object in java?

1013


How can we pass argument to a function by reference instead of pass by value?

1109


Can we access instance variables within static methods ?

1091


Why is the singleton pattern considered to be an anti pattern?

881


Why you should not use singleton?

965


What is runtime locatable code?

1424


What is printwriter in java?

950


What is the use of accept () method in java?

1094


What is a prefix function.write down a code to compute prefix function.

1057


what is mena by object block any what is the use of that

2212


How do you insert a line break?

906