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 a “stateless” protocol ?
Why do we need strings in java?
Is a string literal?
Why unicode is important?
What is difference between static class and singleton pattern?
Can I uninstall java?
Can a function return a function?
How can the checkbox class be used to create a radio button?
What is the collections api?
Can constructor be inherited?
What is a classloader in java?
Tell me the latest versions in java related areas?
What is the Concept of Encapsulation in OOPS
How do you classify Dialog Box?
How do I compare two strings in word in java?