ALLInterview.com :: 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                      
Google
   
 
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)
Question
explain System.out.println
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: explain System.out.println
Answer
# 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
Venkatearamireddy
 
  Re: explain System.out.println
Answer
# 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
Franklin
 
 
 
  Re: explain System.out.println
Answer
# 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
Answer
# 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
Answer
# 5
'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 ?    752 Yes 56 No
Arun Gopal
 
  Re: explain System.out.println
Answer
# 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
Jacob.p.george
 
  Re: explain System.out.println
Answer
# 7
System.out.println

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
Answer
# 8
System-it is class
out-object/datamember or u can say referencevariable of
class
println-method of class
 
Is This Answer Correct ?    23 Yes 123 No
Nisha Sharma
 
  Re: explain System.out.println
Answer
# 9
System:-It is the final class and its constructor is
private.so we can not create new object of System.

out. it is the static member of the System class of type
java.io.PrintStrem.
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
Answer
# 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
Nilesh
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
JVM is platform independent or depeneded?   7
________ exception must be either caught or specified in throws class of the method.   1
Can an unreachable object become reachable again?   3
What is the difference between error and exception and explain in simple words not whatever is given in the book.   7
What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized. iFlex 5
can we override the main() method in java????   3
What are parent methods and how can you call them?   2
Difference between error and exception Nous 2
Name the method that is used to set a TextComponent to the read-only state?   1
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.   1
What is the exact difference in between Unicast and Multicast object ? Accenture 4
what is platform dependent translation and platform dependent programming language   2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


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

ALLInterview.com   ::  KalAajKal.com