System.out.println("somestring"); It will create any object
or not
Answers were Sorted based on User's Feedback
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 / 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 |
Can Java be said to be the complete object-oriented programming language
How does list work in java?
What is thin driver and thick driver. why it is called so?
What is an example of a constant variable?
what are the states associated in the thread? : Java thread
we r taking <load-on-startup>0</load-on-startup> <load-on-startup>1</load-on-startup> in deployment descripter for loading servlets like serv1 N serv2? so 'll it take serv1 or serv2
Explain about instanceof operator in java?
what is Abstract DataType?
When super keyword is used?
What is adapter in java?
Difference between operator overloading and function overloading
0 Answers Tavant Technologies, Virtusa,
Explain what do you mean by functional overloading in java?