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

Can java list contain duplicates?

1008


What is the difference between preemptive scheduling and time slicing?

1063


What is unicode datatype?

961


What is unicode full form?

976


What is the difference between stringbuffer and stringbuilder?

1051


Is 0 true or is 1 true?

960


List the different types of classloaders in java.

971


What is the size of boolean variable?

1074


Is linkedlist thread safe in java?

991


Is 0 a real number?

1042


how to prepare for IT Officers Interview in Banks

1967


What is meant by singleton class?

1031


Why can't you declare a class as protected?

1129


Difference between final and effectively final ? Why is effectively final even required ?

985


Explain the access modifiers for a class, method and variables?

1141