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

Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1921


What environment variables are required to be set on a machine in order to run Java programs?

1192


What is a default constraint?

1070


Does java linked list allow duplicates?

972


Why is stringbuffer not immutable?

1081


I want to store more than 10 objects in a remote server? Which methodology will follow?

3204


What is callablestatement? How you can call stored procedure to pass in parameter?

1025


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

1106


Give me an example of array and linked list? Where they can be used?

1010


Can a class be a super class and a sub-class at the same time? Give example.

1566


Explain the public class modifier?

956


What will be the default values of all the elements of an array defined as an instance variable?

1030


What are different types of classloaders?

1019


Can we create our own daemon thread?

981


what is thread in Java ?

1162