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 / sagar g

System : The System is a class and cannot be instantiated.

out : Its a static field with type PrintStream of System
class and object of PrintStream class.

println : Its a method of PrintStream class.

As "println()" is a method of PrintStream class and "out"
is an object of PrintStream class, object can call its
public method "println()"
out.println();

Since "out" is static , it so that it is called using class
name "System"
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 are data types in programming?

977


What is mutable object and immutable object?

1114


What is the function of static in java?

1052


What is a priority queue java?

974


What is array list in java?

1061


What is the finalize method do?

1085


What is the difference between access specifiers and access modifiers in java?

1154


What is the range of a character variable?

975


What is polymorphism in java? What are the kinds of polymorphism?

1054


What is abstract class? Explain

1032


What is the difference between class & object?

1000


What Is Composition?

1034


What does business logic mean?

974


what is the purpose of using rmisecuritymanager in rmi?

953


What is square root in java?

1086