explain System.out.println

Answer Posted / chhote lal prasad gupta

System:-It is the final class and its constructor is
private.so we can not create new object of System.

out. it is the static member of the System class of type
java.io.PrintStrem.
println:-it is the overload function of PrintStream.

Is This Answer Correct ?    75 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays dynamic in java?

530


Why enumeration is faster than iterator?

527


What is rule of accessibility in java?

540


how come we know the object is no more used in the class?

5411


What is jdbc api?

533






What is constant in programming?

554


What is flag in python?

551


Can an interface extend a class?

536


How do you remove all elements from an arraylist in java?

504


How many types of memory areas are allocated by JVM in java?

588


What is an immutable object? How do you create one in java?

598


Does java support multiple inheritance or not?

595


What is the difference between a method and a function in alice?

574


Tell me a few examples of final classes defined in Java API?

557


What is the lifetime and scope of a variable?

516