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 / suneel kumar

System is the Final Class,
Where as out is the object of PrintStrean class,which
reside in the System Class,
and println() is the method in the PrintStream class.


System --> public final class System
out --> public final static PrintStream out =
nullPrintStream();
println() --> public void println(Object x)
{
synchronized (this)
{
print(x);
newLine();
}
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is methodological theory?

932


What is a method type?

943


What is a class object?

922


What is valid keyword in java?

935


Give a practical example of singleton class usage?

996


What is an exception? difference between Checked and Unchecked exception in Java

957


Can you instantiate the math class in Java?

1025


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

989


What are the main differences between the java platform and other platforms?

996


What is boolean flag in java?

1037


How do you make an arraylist empty in java?

891


Explain about interthread communication and how it takes place in java?

966


Why parameters should be passed by reference?

913


Is list thread safe in java?

877


Are constructors methods?

957