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 / ramu.gadde

System:It is the class Name which is available in java.lang
package.

out: is the static variable(public static final
java.io.PrintStream out)

Analysis of out variable:
So many people are conflict about this out,
a)Either it is object or variable.

Reason:In java there is no static object(means with static
keyword it is called variable only)

println:is a method which is available in
Java.io.PrintStream class)

the step is considered by java team like this

class System
{
public static final java.io.PrintStream out=new PrintStream();
------
}
So they called System.out.println()

I think u understand about this completely.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you generate random numbers in java?

1049


When object is created and destroyed?

1105


Explain list interface?

962


Which object oriented concept is achieved by using overloading and overriding?

1114


What is an empirical question?

968


How do you escape in java?

1081


What are the topics in core java?

1067


What is an abstract method in java programming?

1047


What is the latest version of java?

1135


Is main a keyword in java?

978


Can a main method be declared final?

1057


How do you create immutable object in java?

1049


Which category the java thread do fall in?

1000


How do you do descending order in java?

970


What is the purpose of final keyword and when to use it?

1004