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
How many ways can an argument be passed to a subroutine and explain them?
What is the size of boolean variable?
What is the collections api?
What is the use of pattern in java?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is better- service oriented or batch oriented solutions?
What is a null check?
What is the difference between a method and a function in alice?
Does java linked list allow duplicates?
How can the checkbox class be used to create a radio button?
What is exception in java?
What is the difference between hashmap and hashtable in java?
Describe how to implement singleton design pattern in struts.
Define jit compiler?
What is exception handling in java?