explain System.out.println
Answer Posted / santosh singh
'System'is a class in it out is a field defined as static
so we can write System.out
out is object defined in PrintStream class in printstream
class tere is a method println()so we can call that method
by out.println()printstream class is defind in java.io
package so if we want to use it so we import java.io package
so it is better to cal system.out.println()it give the same
result
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the association?
What is __ init __ functions?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What are the actions that can occur when a thread enters blocked state?
What is the Concept of Encapsulation in OOPS
Define the term string pool?
What is thread pool in java with example?
Is arraylist sorted in java?
Where are the local variables stored?
What is skeleton and stub?
What is a blocking method in Java?
Which is easier netbeans or eclipse?
Is it possible to use string in the switch case?
What is difference between variable declaration and definition?