explain System.out.println
Answer Posted / arun rajesh
System.out.println
The println() is a method that is used to print data on the
system console (command window). Java's method names are
always followed by parentheses.
System and out are not methods, but names that represent
other Java classes.
System.out means that the variable out is defined inside
the class System.
The out.println() tells us that there is an object
represented by a variable called out and it has a method
called println().
| Is This Answer Correct ? | 36 Yes | 136 No |
Post New Answer View All Answers
Can we write multiple catch blocks under single try block?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
Differentiate between the constructors and methods in java?
What is your platform?s default character encoding and how to know this?
Can a final variable be initialized in constructor?
What is a Transient Object?
Is java owned by oracle?
Is object a data type?
What is the default access specifier for variables and methods of a class?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
How many ways can an argument be passed to a subroutine and explain them?
What is the instance of an object?
What is int short for?
What is the difference between integer parseint and integer valueof?
What is sortedset in java?