explain System.out.println
Answer Posted / birendra
system-is a class present in java.lang package .it is a
public final class.
system class import the package java.io.*;
out-out is the object of printStream class.
its syntax is public final static PrintSteam out in the
system class.
println()-it the the method of PrintStream class;
so we can call the static object of system class with the
name of class & with the name of out we can call the method
of printsteam call
System.out.println();
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of math abs in java?
Tell me how many ways are there to initialise an integer with a constant.
how does the run() method in runnable work? : Java thread
What is a nested structure?
What is the base class for error and exception?
Explain the use of sublass in a java program?
What is function and method in java?
Which collection does not allow duplicates in java?
Are registers volatile?
how to run ecllipse with jettyserver for windows environment using batch file
What will happen when using pass by reference in java?
What are new features introduced with java 8 ?
Which types of exceptions are caught at compile time?
Describe the term diamond problem.
Explain the importance of finally block in java?