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

System : It is a java class in the java.lang package.

Out : it is a static field in System class.it holds the
reference of an object of the class printStream.

Println() : it is the method in the
PrintStream class.

so because out is static we can call it using class name
and because of it is returning object we can call methods
present in the object.and one of the method is println.

Is This Answer Correct ?    12 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create packages in java?

893


Which is best ide for java?

999


What is a return in java?

980


Can you make a constructor final?

980


What is the basic concept of java?

965


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

939


How do you do a line break in java?

935


How to create a thread in java?

1082


What are the restrictions that are applied to the java static methods?

931


Explain spliterator in java8?

1007


What is return code?

955


What is the method to expand and collapse nodes in a jtree?

984


Which class is the superclass for every class in java programming?

941


In which order the iterator iterates over collection?

949


Why bytecode is called bytecode?

1098