System.out.println("somestring"); It will create any object
or not
Answer Posted / prajakta
yes...Here System is a pre-defined class & out is a static
variable of that class.So we use "System.out" i.e
(className.variableName)..which gives you printstream class
object..now that object is used to call non-static method
of printstream class(println)i.e. obj.methodName();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to use string in the switch case?
How do you achieve polymorphism in java?
What is the base class of all classes?
Does every java program need a main?
List some features of the abstract class.
What is a vector in java?
What does sprintf mean?
explain local datetime api in java8?
Are floats faster than doubles?
What is data movement?
What is the method to declare member of a class static?
What is difference between path and classpath in java?
What is the final blank variable?
Explain what is encapsulation?
What is instance means in java?