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
Why java is called not pure object oriented language?
What are the advantages of java?
What is the difference between variable & constant?
What is wrapper class html?
What's the base class in java from which all classes are derived?
What are the two ways to create a thread?
Tell me a few examples of final classes defined in Java API?
What is formatted output in java?
What is integer valueof?
Can a final method be overloaded?
What is currentthread()?
What is java util?
What is the difference between break and continue statements?
Does java return by reference?
How do you create a sop?