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

Answers were Sorted based on User's Feedback



explain System.out.println..

Answer / padmakar

System is a class in java.lang package.
as per the concept of java , the instance methods will be called with the objects and the static methods will be called with the class name, the print() method and println() methods are defined as instance methods in the printstream class, which is treated as static in the system class.
so the println() will be called with object of printstream class
i.e out.println() which is static in nature in system class.

so, it is System.Out.println()

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / pawan

'System' is a class in java.lang package
'out' is a static object of PrintStream class in java.io
package
'prinln()' is method in the PrintStream class.....

Is This Answer Correct ?    0 Yes 1 No

explain System.out.println..

Answer / ji

system. It is a class,and
out is the static member variable,
println is the method(out class method)..........

Is This Answer Correct ?    0 Yes 1 No

explain System.out.println..

Answer / himanshu

"System.out.prinln()"
System is a class ,Which is declare final and this extends
the object class,we can not create the object of that class.
out is a static object of outputstream class.
public static final Outputstream out
println() is method of Printstream class

Is This Answer Correct ?    0 Yes 1 No

explain System.out.println..

Answer / sekhar v n

System is a predefined final class

out is a PrintStream object

and

println is a built-in overloaded method in the out object

Is This Answer Correct ?    0 Yes 1 No

explain System.out.println..

Answer / tanu

System is a predefined class
Out is "standard" output stream that is connected to the
console
println() is built-in method that display the string which
is passed to it with a new line

Is This Answer Correct ?    12 Yes 16 No

explain System.out.println..

Answer / dsr

system:system class
out->out is a object of printstream
print->method of printstream class

Is This Answer Correct ?    10 Yes 14 No

explain System.out.println..

Answer / sarfraj ahmed

SYSTEM IS THE CLASS
OUT IS THE OBJECT OF THE CLASS
& PRINTLN IS THE METHOD....
WHICH IS USED TO DISPLAY THE STRING INSID METHOD

Is This Answer Correct ?    13 Yes 17 No

explain System.out.println..

Answer / bindu madhavi

System is final class of java.lang package.

'out' is field of System class which is static of
type 'PrintStream'.

println() is overloaded method of PrintStream.

Is This Answer Correct ?    9 Yes 17 No

explain System.out.println..

Answer / atanu

System: Predefined Final class

out: Printstream object

System.out: standard output stream

println: built-in method which is overloaded

System.out.printline(): print a string in a new line

Is This Answer Correct ?    9 Yes 23 No

Post New Answer

More Core Java Interview Questions

How to send a request to garbage collector?

4 Answers  


Why java is considered as platform independent?

0 Answers  


How does Vector implement synchronization?

4 Answers   Ness Technologies,


What is the purpose of using java.lang.class class?

0 Answers  


What is finally in exception handling?

7 Answers  


What is an i/o filter?

5 Answers  


What is string example?

0 Answers  


Why is java logo a cup of coffee?

0 Answers  


Explain when noclassdeffounderror will be raised ?

0 Answers  


how we can write the string concatenation program in java.

3 Answers  


How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)

3 Answers   ProdEx Technologies,


What is the primitive type short?

0 Answers  


Categories