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 %02d?
What is the difference between an array and an array list?
What is the difference between a synchronized method and a synchronized block?
Are registers volatile?
What are the advantages of user defined functions?
Which method cannot be overridden in java?
Can an abstract class be a final class?
What is computer compiler?
What do you understand by the term singleton?
How do you use substring in java?
How are java objects passed to a method and what are native methods?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
How do we access static members in java?
What is a default method?
Why collection doesn’t extend cloneable and serializable interfaces?