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 / mallikarjuna g

System : It is a standard java class. It comes from the
java.lang package. it is bydefault package.
Out : The class system contains static field named "out".
so System.out referes to the value stored in that static
filed. the value System.out is an object of the class
printStream from the standard java package java.io.
Println() : it is the instance method come from the
PrintStream class.

so System.out.println() calls the "Println()" method
associated with the "printStream" object referred to by
static field "out"

Is This Answer Correct ?    55 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parseint?

1071


How do you use equal in java?

1164


How do I compare two strings in word in java?

1039


How many types of constructors are used in java?

1264


How do you create immutable object in java?

1103


Name container classes in java programming?

1169


What is the major advantage of external iteration over internal iteration?

1150


Are there structures in java?

1028


how do I create a runnable with inheritance? : Java thread

1027


How do you sort an array in java?

1045


What is the return type of the main method?

1084


In how many ways we can create threads in java?

1271


Why are pointers not secure?

1074


What is public/private protected in java?

1082


What is thread start?

1016