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
What are the advantages of inner classes?
What is cr keyboard?
What is anti pattern in java?
Can you sort a list in java?
In java how do we copy objects?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Explain the difference between jvm and jre?
Is Java a dying language?
Why we use protected in java?
What is the purpose class.forname method?
What's the purpose of static methods and static variables?
how to create daemon thread in java?
Why we use methods in java?
What is native method in java?
Difference between final and effectively final ? Why is effectively final even required ?