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
What is consumer in java?
What is the difference between a static and a non-static inner class in java programming?
Does java have extension methods?
Define packages in java?
What happens if an exception is throws from an object's destructor?
What is proper subset?
describe synchronization in respect to multithreading? : Java thread
How do you sing an Applet ?
Explain different types of thread priorities ?
What is oop in java?
Difference between method overloading and overriding.
What is package protected in java?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
Explain the use of sublass in a java program?
what are three ways in which a thread can enter the waiting state? : Java thread