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 scalar data types?

1070


How to use string tokenizer class.

1207


What are the different approaches to implement a function to generate a random number?

1059


How does multithreading take place on a computer with a single cpu in java programming?

1015


Is treeset sorted in java?

988


Is arraylist ordered in java?

1115


Is java a virus?

952


Can we clone singleton object in java?

1019


What are constants?

1053


Explain the JDB in depth & command line.

1016


Which programming language is most secure?

997


How many bytes is a string?

1133


What restrictions are placed on method overriding in java programming?

1002


What is set in java?

1045


What are recursive functions?

1058