explain System.out.println
Answer Posted / 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 |
Post New Answer View All Answers
Explain illegalmonitorstateexception and when it will be thrown?
What is contract between hashcode and equal method?
What is the this keyword?
What are the limitations of procedural programming approach?
I want to persist data of objects for later use. What’s the best approach to do so?
How can you read content from file in java?
What is the difference between declaration and definition in java?
Does the order of public and static declaration matter in main method?
Explain method local inner classes ?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is meant by data hiding in java?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Is final static java?
How will you compute size of a structure?
What is basic syntax?