:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


 Core Java interview questions  Core Java Interview Questions (1720)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (43)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (195)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (145)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
explain System.out.println
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
  Re: explain System.out.println
# 1
System: System refers to current java program.

out: out refers to output device. by default it is monitor.

println: to print the specific string onto output device in
next line
Is This Answer Correct ?    117 Yes 542 No
  Re: explain System.out.println
# 2
System: its the class
out: its the object of the class System
println():its the method which tells the compiler to print
a new line.
Is This Answer Correct ?    374 Yes 265 No
  Re: explain System.out.println
# 3
System: System is a Package
out: out is a class belonging to System Package
println(): println() is a method of out class
Is This Answer Correct ?    79 Yes 528 No
Vinay Tiwari
  Re: explain System.out.println
# 4
System: System is a Package
out: out is a class belonging to System Package
println(): println() is a method of out class
Is This Answer Correct ?    54 Yes 451 No
Vinay Tiwari
  Re: explain System.out.println
# 5
'System' is a class in java.lang package
'out' is a static object of PrintStream class in
'prinln()' is method in the PrintStream class.....
Is This Answer Correct ?    752 Yes 56 No
Arun Gopal
  Re: explain System.out.println
# 6
'system' is a public class which is final which can never
be extended..It itself extends object.
'out' is the static object of the class PrintStream.
'println()' is the method of printStream class..
since 'out' is a static object it can be called by using
the class name'system'
so 'Sstem.out.println()'
Is This Answer Correct ?    348 Yes 42 No
  Re: explain System.out.println
# 7

The println() is a method that is used to print data on the
system console (command window). Java's method names are
always followed by parentheses.

System and out are not methods, but names that represent
other Java classes.

System.out means that the variable out is defined inside
the class System.

The out.println() tells us that there is an object
represented by a variable called out and it has a method
called println().
Is This Answer Correct ?    36 Yes 134 No
Arun Rajesh
  Re: explain System.out.println
# 8
System-it is class
out-object/datamember or u can say referencevariable of
println-method of class
Is This Answer Correct ?    23 Yes 123 No
Nisha Sharma
  Re: explain System.out.println
# 9
System:-It is the final class and its constructor is we can not create new object of System.

out. it is the static member of the System class of type
println:-it is the overload function of PrintStream.
Is This Answer Correct ?    73 Yes 43 No
Chhote Lal Prasad Gupta
  Re: explain System.out.println
# 10
There is a class called System.

It has a static member attribute called "out", which is of
type PrintStream.

PrintStream provides a method called "println", which is
what you're calling.
Is This Answer Correct ?    66 Yes 40 No

Other Core Java Interview Questions
  Question Asked @ Answers
what is purpose of writting public static void main(Strind arg[]) in java..? ITC-Infotech 4
What is file class and what is its purpose?   1
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.   8
How java is platform independent? TCS 41
Can we override static methods? Bally-Technologies 18
how to connect one jsp page to another jsp page???? Symphony 6
what is use of threads how many ways to create thread Verizon 3
how can i take the inputs from users in java program? Wipro 7
If set accepts only one argument then how can it compare two objects to avoid duplicates   5
What is the range of the char type?   3
how and when compiler knows that the Java code throws the checked Exception. HSBC 2
what is the use of reference variable   6
For more Core Java Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::