explain System.out.println
Answer Posted / malyadri tavva
System:System is predefined class in java.lang package.
out: out is final and static variable in system class and
it is a referece variable in PrintStream class.
we call the static varible with their class names.i.e
System.out
println():
println() is a method in PrintStream class so we can call
this method by using the reference variable i.e
System.out.println().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What modifiers may be used with a top-level class?
How many bytes is a string?
What is the private method modifier?
Why does java not allow multiple public classes in a java file ?
List out benefits of object oriented programming language?
What are the three parts of a lambda expression?
What is difference between iterator access and index access?
What is return used for in java?
What are different ways of object creation in java ?
What is the method to declare member of a class static?
What is static and final keyword in java?
What is the difference between array and array list in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is the difference between abstract class and interface1? What is an interface?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?