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
Is arraylist a class in java?
Can java program run without jre?
What is intern method in java?
How do you write a conditional statement?
Explain method overloading?
What is the difference between and ?
What is the size of boolean variable?
What is the use of parse function in java?
Can we create an object of static class in java?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What does jenkins do?
How many digits is int32?
What is the use of generics? When was it added to the Java development Kit?
Difference between comparator and comparable in java?
Is arraylist ordered?