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 does sizeof return?

983


what is object slice?

2076


Is a char always 1 byte?

985


According to java operator precedence, which operator is considered to be with highest precedence?

1084


Explain thread life cycle in java?

1031


What are the various access specifiers in java?

999


Explain the use of shift operator in java. Can you give some examples?

970


How do you define a singleton class?

1076


How many types of the indexof method are there for strings?

969


Can the interface be final?

1005


How is string stored in java?

1060


Why we use set in java?

996


Why are getters and setters used?

1058


In how many ways we can do synchronization in java?

961


How does java pattern compile work?

958