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
Write a program to reverse array in place?
What does the @override annotation do?
How many types of parsers are there?
Give some features of interface?
Why are the objects immutable in java?
what is singleton class in java?
What is use of super keyword in java?
What is final variable?
What is the arraylist in java?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What is the set interface in java programming?
What is private static class in java?
What is "this" keyword in java? Explain
What is internal variable?
Can we extend immutable class?