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

design an lru cache in java?

1005


Can I overload to string method

1443


Write a program to print fibonacci series

1159


Can a class be declared as static?

1171


Can java cast null?

1041


What is += mean in java?

999


What is byte value?

991


What is an i/o filter?

1821


What is a loop java?

1055


How to do a true java ping from windows?

1158


What is preparedstatement in java?

1050


What is the argument in java?

921


What is a java applet? What is an interface?

1098


What is the method overriding?

1082


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1174