define System.out.println(); what is the meaning!

Answer Posted / alok

System is a class defined in java.lang package(public final
class System extends Object) that provides useful methods
and class fields(out,in,err)for input and output.

out is print stream object.it is static, so can be called
by its class name(System.out)

println() is a print stream method that is already
overloaded for each and every thing.it directs the output
to console

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we access static members in java?

630


What access modifiers can be used for class ?

542


What is size of int in java?

548


What is the use of java?

528


What was java originally called?

512






Explain about method local inner classes or local inner classes in java?

572


What is static import?

602


What do you understand by the term singleton?

582


Is a string literal?

525


write a program that list all permutations of ABCDEF in which A appears before B?

2013


What is hashing in java?

571


What is the size of a string in java?

547


Explain implementation and how is it different from conversion?

589


What is a two-pass assembler?

611


Is string a data type in java?

592