For
output purpose java uses the following code:
System.out.println(“This is output”);
The above line displays “This is output “followed
by a new line on the screen. Output is actually accomplished built-in println () method. The line begins with
System.out. System is a predefined class that provides access to thesystem, and
outis the output stream that is
connected to the console.
No comments:
Write comments