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 / padmakar

System is a class in java.lang package.
as per the concept of java , the instance methods will be called with the objects and the static methods will be called with the class name, the print() method and println() methods are defined as instance methods in the printstream class, which is treated as static in the system class.
so the println() will be called with object of printstream class
i.e out.println() which is static in nature in system class.

so, it is System.Out.println()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 6 functions?

1019


What are the main uses of the super keyword?

1016


How do you decide when to use arraylist and linkedlist?

1046


What is the final keyword?

1033


Give the hierarchy of inputstream and outputstream classes.

1153


What is scanner in java?

987


How is garbage collection controlled?

1221


How many threads does a core java have?

1120


What are the data types supported by java?

1078


explain autoboxing in java?

1040


Is set ordered?

1029


What is the difference between preparedstatement and statement in java?

1231


how to split string in java?

1280


What is the full form of jpeg?

1007


What are the procedures?

1109