explain System.out.println

Answer Posted / rajendra chandra

System:-it is class present in the java.lang package
out:-it is the static variable of PrintStream class defined inside system class
println():- is a method of PrintStream Classand this class having some method which are declared pubic void type

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 difference between local variable and global variable?

480


Why should I use abstract class?

575


How do you start a thread?

556


Can we create our own wrapper class in java?

551


Is null a value?

568






Can Exception handling we can handle multiple catch blocks?

648


What are the differences between abstract class and interface?

515


What is garbage collection? What is the process that is responsible for doing that in java?

663


What is a stack class in java ?

614


What are the files generated after using IDL to java compiler?

593


Why java does not support pointers?

563


What is r in java?

595


What is meant by null and void?

544


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

599


What is replacefirst in java?

581