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
Can we have try block without catch block?
Explain about collection interface in java?
How we can generate random numbers in java?
when to use ArrayList and when to use HashMap in webApplication.
What is a method type?
Why can we not override static method?
What environment variables are required to be set on a machine in order to run Java programs?
What is an example of a boolean?
Is int primitive data type?
How to create a custom exception?
What is the difference between applet and application?
What is scanner in java?
How to make a write-only class in java?
what is collatration?
How do you escape sequences in java?