define System.out.println(); what is the meaning!
Answer Posted / sagar g
System : The System is a class and cannot be instantiated.
out : Its a static field with type PrintStream of System
class and object of PrintStream class.
println : Its a method of PrintStream class.
As "println()" is a method of PrintStream class and "out"
is an object of PrintStream class, object can call its
public method "println()"
out.println();
Since "out" is static , it so that it is called using class
name "System"
System.out.println()
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
What environment variables are required to be set on a machine in order to run Java programs?
What is a default constraint?
Does java linked list allow duplicates?
Why is stringbuffer not immutable?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is callablestatement? How you can call stored procedure to pass in parameter?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Give me an example of array and linked list? Where they can be used?
Can a class be a super class and a sub-class at the same time? Give example.
Explain the public class modifier?
What will be the default values of all the elements of an array defined as an instance variable?
What are different types of classloaders?
Can we create our own daemon thread?
what is thread in Java ?