explain System.out.println

Answer Posted / pragya

System:It is a class in lang package and
out:it is static member of System class and object of PrintStream class........
println():this is the method defined in PrintStream class
which prints the sentence in new line

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scope of a variable?

607


What is polymorphism and what are the types of it?

513


How do I get a substring?

531


Give few difference between constructor and method?

524


What is the hashcode () and equals () used for?

539






Why object class is super class for every class in java?

583


Does set allows null in java?

511


What is java and their uses?

551


Which language is java?

548


Which class is used by server applications to obtain a port and listen for client requests?

500


What is final, finally, finalize?

604


Explain try and catch keywords in java?

625


What do you mean by singleton class in java?

521


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

588


How do you bind variables?

533