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 / srihari desai

System is a pre-defined class present in java.lang package.
System is a final class since it cant be extended.
There is one more pre-defined class called PrintStream
present in java.io package.
The Object of PrintStream class created as static in System
class.
In PrintStream class There are Total 9 Overloaded println n
print methods.
Each println/print methods takes different data type as a
parameter like
println(int)
println(float)
println(double)
println(short)
println(byte)
etc
Thank u 1 n all

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by buffering?

1052


What is literal example?

961


What is final keyword in java? Give an example.

1022


What is the mapping mechanism used by java to identify IDL language?

1018


How do you use spaces in java?

1006


Is an empty arraylist null?

1107


How to print nodes of a Binary tree?

2258


Are floats faster than doubles?

1071


What is the reason behind using constructors and destructors?

1077


can any body body expalin best definitions & best real time exaples for opps concepts.

2276


Why java is used everywhere?

1014


What is a locale?

1159


Which collections are thread safe in java?

933


What are the types of exceptions?

1064


Which data type is a class in java?

1012