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

Can a class have an interface?

1039


List out five keywords related to exception handling ?

1059


Explain when noclassdeffounderror will be raised ?

1095


What is function declaration?

1023


Is java an ide?

1032


What is the difference between reader/writer and inputstream/output stream?

1133


What is the difference between conversation & casting?

1094


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1224


When does a class need a virtual destructor?

1066


Why are variables important in research?

978


Explain about interrupt() method of thread class ?

1172


What value is a variable of the string type automatically initialized?

1164


Why 1 is not a prime number?

1076


Write a program to show whether a graph is a tree or not using adjacency matrix.

1147


How big is a 32 bit integer?

1096