explain System.out.println
Answer Posted / jacob.p.george
'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 ? | 362 Yes | 45 No |
Post New Answer View All Answers
What is java regex?
Explain about static imports in java?
What is role of void keyword in declaring functions?
Can we catch more than one exception in single catch block?
Can we create a class inside a class in java?
What is variable declaration and definition?
Explain the use of shift operator in java. Can you give some examples?
What is the purpose of the main method?
What does the “static” keyword mean? Can you override private or static method in java?
What is preparedstatement in java?
If a method is declared as protected, where may the method be accessed?
How many types of gc are there in java?
What are the disadvantages of using inner classes?
Can we overload the main() method?
What is the format specifier?