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 / dipanjan paul

'System' is a class in 'java.lang' package, which is a
final class(can not be inherited) and its constructor is
private(can not be inherited)
'out' is a static member variable of 'System' class which
is of type 'PrintStream'
'println()' is a method of 'PrintStream' class
So 'System.out.println()' means calling of method 'println
()'of the static 'PrintStream' type variable 'out'
of 'System' class.
And is used to print a String to the system console.

Is This Answer Correct ?    25 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an example of a boolean?

1117


What is defined as false sharing in the context of multithreading?

1085


Explain notify() method of object class ?

1162


Does java linked list allow duplicates?

1021


What is linked hashmap and its features?

1073


What is concurrent hashmap and its features?

1162


Is null false in java?

1235


Explain a few methods of overloading best practices in java?

1020


What is nullpointerexception in java?

1239


how we can make a write-only class in java?

1080


Describe the syntax of multiple inheritance? When do we use such an inheritance?

1139


What are different types of constants?

1117


What is difference between iterator and enumeration in java?

1036


What is Mutex (Mutual Exclusion Object) ?

1210


What is mvc in java?

1063