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

System is a class. out is the object of PrintStream class .
println() is the instance method of PrintStream class.to
call that println() we need object of PrintStrem class but
the out is declared as static datamember of System class.So
to call println() befor we call static datamember out using
class name bcoz static datamember can be called by using
class name after that by using out object we can call println().

so System.out.println()

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 string example?

1112


Name few java 8 annotations ?

1086


Why java is called not pure object oriented language?

1076


What is boolean used for?

1090


What is the default size of load factor in hashing based collection?

1105


Write a code to show a static variable?

1136


How do you sort in ascending order in java?

916


Which api is provided by java for operations on set of objects?

1525


Explain the transient field modifier?

1088


Why doesn't the java library use a randomized version of quicksort?

1032


What is private static class in java?

1061


What are the difference between composition and inheritance in java?

1079


What is instance example?

1009


What are runtime exceptions?

1224


Which oo concept is achieved by using overloading and overriding?

1060