define System.out.println(); what is the meaning!
Answer Posted / p.nandakishore
System is class in java.lang package
out is a static member of type PrinStream class(java.io)
declared in the System class.static members of a class can
be accessed directly by classname that's why System.out.
println is a method in PrintStream class.out is of type
PrintStream that's why you access println w.r.t out.
why this big statement? because here no need to import any
package, like you include a header file in c or
c++.java.lang is the default package.
| Is This Answer Correct ? | 55 Yes | 8 No |
Post New Answer View All Answers
Is there any difference between nested classes and inner classes?
What is anagram of a string?
Can you pass functions in java?
What is java in simple terms?
What is thread safe singleton?
What do you mean by pointer value and address?
How to make a read-only class in java?
What is rule of accessibility in java?
What is exception in java?
Can a class be declared as protected?
What is the advantage of OOP in java?
What is variable and example?
What is entry set in java?
How do you write a good declaration?
What does %4d mean in java?