explain System.out.println
Answer Posted / mallikarjuna g
System : It is a standard java class. It comes from the
java.lang package. it is bydefault package.
Out : The class system contains static field named "out".
so System.out referes to the value stored in that static
filed. the value System.out is an object of the class
printStream from the standard java package java.io.
Println() : it is the instance method come from the
PrintStream class.
so System.out.println() calls the "Println()" method
associated with the "printStream" object referred to by
static field "out"
| Is This Answer Correct ? | 55 Yes | 12 No |
Post New Answer View All Answers
What is parseint?
How do you use equal in java?
How do I compare two strings in word in java?
How many types of constructors are used in java?
How do you create immutable object in java?
Name container classes in java programming?
What is the major advantage of external iteration over internal iteration?
Are there structures in java?
how do I create a runnable with inheritance? : Java thread
How do you sort an array in java?
What is the return type of the main method?
In how many ways we can create threads in java?
Why are pointers not secure?
What is public/private protected in java?
What is thread start?