explain System.out.println
Answer Posted / manoj
1. System: It is a class present in java.lang package.
2.out:It is a static field present in system class ,as it is
a static field thats why it can access with class name.which
returns a printstream object.
3.Println: It is method in PrintStrean class which is print
a line and also create a new line.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to reverse a number in java?
How big is a 64 bit float?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What are the advantages of assembly language?
What are methods of a class?
Explain abstract class in java?
What is a consumer in java?
what are three ways in which a thread can enter the waiting state? : Java thread
Can we override the static methods?
What are static methods?
Java is Pass by Value or Pass by Reference?
What is the tradeoff between using an unordered array versus an ordered array?
Explain restrictions on using enum?
What is the independent variable in an experiment?
What is a ternary operator in java? What is an interface?