English

Write down the syntax of output statement in Java with an example. - Computer Applications

Advertisements
Advertisements

Question

Write down the syntax of output statement in Java with an example.

Answer in Brief

Solution

Let's say the following syntax must be used to print the output statement "Hello World."

Syntax: 

System.out.println("Hello World");
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.05: Introduction to Java - EXERCISES [Page 54]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.05 Introduction to Java
EXERCISES | Q IV. 6. | Page 54
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×