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 the symbol for line break?

1160


List some java keywords sun like c, c + + keywords?

1061


Why java is made?

1019


what is function overloading in java?

1357


What is the significance of java packages?

1141


What is a copy constructor in java?

1198


How does hashmap work in java ?

1106


What is meant by stack and queue?

1124


What are the advantages and disadvantages of object cloning?

1163


What is a databasemetadata?

994


Are arrays dynamic in java?

1085


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

1123


What is method overloading and method overriding?

1110


What is java used for?

1060


What are the two ways in which thread can be created?

1106