System.out.println("somestring"); It will create any object
Answers were Sorted based on User's Feedback
Answer / aslam
Yes, It will create PrintStream object
|Is This Answer Correct ?||20 Yes||4 No|
Answer / manish pal
yes it create 2 objects
first for string literal
second for print stream
|Is This Answer Correct ?||10 Yes||0 No|
Answer / rakesh
yes it can create
|Is This Answer Correct ?||4 Yes||1 No|
Answer / maulik
yes, it can create..
|Is This Answer Correct ?||1 Yes||0 No|
Answer / 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|
What is entry set in java?
Is set ordered?
What is the use of predicate in java 8?
What are Interceptors?
How to initialize an Applet ?
Difference between keyword and identifier.
What is 16 bits called?
What does the three dot emoji mean?
What is meant by serialisation and deserialisation?
What is difference between static and final?
What will happen when using pass by reference in java?
Explain about class in java?