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
Can a serialized object be transferred via network?
What is main function purpose?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Does string is thread-safe in java?
What is the Scope of Static Variable?
What is illegal identifier in java?
Give me example of derived data types.
What is pangram in java?
What are some characteristics of interference class?
What do negative exponents mean?
What do you understand by synchronization?
What differences exist between iterator and listiterator?
What is float in java?
How do you write methodology?
What are green threads in java?