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

Is there any difference between nested classes and inner classes?

1098


What is anagram of a string?

947


Can you pass functions in java?

1027


What is java in simple terms?

1000


What is thread safe singleton?

948


What do you mean by pointer value and address?

1052


How to make a read-only class in java?

1165


What is rule of accessibility in java?

1028


What is exception in java?

1086


Can a class be declared as protected?

1014


What is the advantage of OOP in java?

1149


What is variable and example?

965


What is entry set in java?

1144


How do you write a good declaration?

984


What does %4d mean in java?

1480