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
What is java full form?
What is defined as false sharing in the context of multithreading?
Explain about core java?
How do you compare arrays in java?
What is queue in java?
Which is better stringbuilder or stringbuffer?
Can you start a thread twice in Java?
What is a null point?
Explain all java features with real time examples
Write a program to reverse a number in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is immutability in java?
how would you implement a thread pool? : Java thread
What is the purpose of using java.lang.class class?
What is the unit of plancks constant?