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 / lalit bhangale

System.out.println();
System is the Class in which out is static object of
class PrintStream which refers t othe standard output ie
console output,
and PrintStream class contains the method println()
which will be accessed using PrintStream object out.
Since out is static so it can be only accessed using
class name in which it contains.
so System.out.println(); simply invokes println()
method to output specified data to standard output console.

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 difference between add() and addelement() in vector?

1535


Differentiate between the constructors and methods in java?

952


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

1073


What is "this" keyword in java? Explain

1102


What is entry in java?

1039


How do you remove duplicates from an array in java?

960


What are the states of thread in java?

991


What do you understand by weak reference?

1014


Does sprintf add a null terminator?

1103


Why java uses the concept of the string literal?

1064


What is java lang string?

1001


What is the current version of java?

1042


Discuss different types of errors that generally occur while programming.

1040


what is the major difference between linkedlist and arraylist in java?

1221


What happens if I remove static from main method?

1010