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 this keyword in java?
How many ways can you break a singleton class in java?
What are class types in java?
What is a method in coding?
When do we use synchronized blocks and advantages of using synchronized blocks?
What is the best definition for data?
What are the loops in java?
Write a program to print fibonacci series
What classes of exceptions may be thrown by a throw statement?
What are the two categories of data types in the java programming language?
What is the difference between multitasking and multithreading in Java
Why can't you declare a class as protected?
What is entry in java?
Is java ee a framework?
Why does java not support operator overloading?