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...

define System.out.println(); what is the meaning!

Answer Posted / p.nandakishore

System is class in java.lang package

out is a static member of type PrinStream class(java.io)
declared in the System class.static members of a class can
be accessed directly by classname that's why System.out.

println is a method in PrintStream class.out is of type
PrintStream that's why you access println w.r.t out.

why this big statement? because here no need to import any
package, like you include a header file in c or
c++.java.lang is the default package.

Is This Answer Correct ?    55 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why java is called not pure object oriented language?

1077


What are the advantages of java?

1036


What is the difference between variable & constant?

1092


What is wrapper class html?

994


What's the base class in java from which all classes are derived?

1319


What are the two ways to create a thread?

1063


Tell me a few examples of final classes defined in Java API?

1162


What is formatted output in java?

1027


What is integer valueof?

1165


Can a final method be overloaded?

1007


What is currentthread()?

1060


What is java util?

1073


What is the difference between break and continue statements?

1099


Does java return by reference?

1074


How do you create a sop?

1047