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 purpose of encapsulation?

953


What happens if constructor is private?

975


Explain about main() method in java ?

1002


What is oop principle in java?

1055


What are keywords in java?

950


What are adapter classes?

984


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

965


How does split work in java?

988


What is the similarity between dynamic binding and linking?

1057


What is the difference between JDBC 1.0 and JDBC 2.0?

3126


Explain java coding standards for interfaces?

1060


Can we inherit a class with private constructor?

1060


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

929


What is set string?

1084


What are static blocks and static initalizers in java ?

1017