explain System.out.println
Answers were Sorted based on User's Feedback
Answer / santhosh
System : It is a BuiltIn class
Out : it refers to the output device
println : It is a method of System class , a method which
helps in printing the contents in the paranthesis to the
output(console) device generally monitor.
Is This Answer Correct ? | 13 Yes | 45 No |
Answer / shakti prasad rath
System ->it is a final class present in java.lang package
that can be inherited.
out -> it is a inner class object.
println() -> it is a method in printstream class
Is This Answer Correct ? | 9 Yes | 44 No |
Answer / arun rajesh
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 | 136 No |
Answer / nisha sharma
System-it is class
out-object/datamember or u can say referencevariable of
class
println-method of class
Is This Answer Correct ? | 24 Yes | 125 No |
Answer / vinay tiwari
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 | 453 No |
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 ? | 118 Yes | 544 No |
Answer / vinay tiwari
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 ? | 80 Yes | 531 No |
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?
Which variables are stored in stack?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is called module?
What is independent and dependent variables in research?
What are design patterns and please explain?
Hi Every One I Have Small Doubt Please answer This???????????????????????????? I Want to use AbstractList class methods(java.util.AbstractList) My Program is import java.util.*; class DemoOne extends AbstractList { public static void main(String[] args) { AbstractList a=new DemoOne();//This One is Correct?? DemoOne a1=new DemoOne();//This One is Correct?? Both Are Not Working System.out.println("Hello World!"+a); System.out.println("Hello World!"+a1); } } Error IS: DemoOne.java:2: DemoOne is not abstract and does not override abstract method get(int) in java.util.AbstractList class DemoOne extends AbstractList AnyOne can Please Provide The Solution????????????????????????? Plzzzzzzz
What are wrapper classes?
what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??
Write a program to find maximum and minimum number in array?
In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?
Distinguish method overloading and overriding