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

System is a final class in java.lang package, which is the
default package in Java.
out is a static variable in System class.
println() is a method of PrintStream class which is in
java.io package
in the system class
static printstream out;
so "out" acts as a reference for PrintStream class and also
static variable in System class.
so finally it produces the output to the console(character
using as input)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is OOP's Terms with explanation?

1184


Can you extend singleton class?

1095


Which non-unicode letter characters may be used as the first character of an identifier?

1007


explain local datetime api in java8?

1010


What is null object in java?

1013


What is mutable object and immutable object?

1123


Is java a virus?

948


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2094


What is a parameter in a function?

993


Which is better list or arraylist in java?

868


How do you invoke a method?

1000


what do you mean by classloader?

1086


Why string is immutable with example?

968


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

1109


What is oops in java?

1017