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 a package in java? List down various advantages of packages.
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
Why do we use bufferedreader?
Can string be considered as a keyword?
Can a class with private constructor be extended?
What are different types of encoding?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
what is meant by abstract class?
Differentiate between stringbuffer and stringbuilder in java.
How do you replace a string in java?
what is the difference between a threads start() and run() methods? : Java thread
Why do we need singleton?
Why is it called buffering?
How do you check if two given string are anagrams?
What is the basic difference between string and stringbuffer object?