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

How to stop a thread in java? Explain about sleep () method in a thread?

1013


What is a conditional statement explain with example?

1014


What is the difference between throw and throws keywords?

1052


Can we execute java program without main method?

1095


What is class variable java?

1007


What is meant by JVM? Is JVM platform independent or not?

1075


What is a type parameter in java?

992


What is matcher in java?

997


how to split string in java?

1209


Can we use switch statement with strings?

1042


What is the difference between a checked and an unchecked exception?

988


What are the topics in advance java?

966


What is the meaning of find and replace?

1031


Is break statement can be used as labels in java?

959


How does hashset works in java?

1086