English

Predict the output of the following snippet: System.out.println("My name is "); System.out.print("Kunal Kishore"); System.out.println("I am a student of Class X"); - Computer Applications

Advertisements
Advertisements

Question

Predict the output of the following snippet:

System.out.println("My name is ");
System.out.print("Kunal Kishore"); 
System.out.println("I am a student of Class X");
Answer in Brief

Solution

My name is 

Kunal Kishore I am a student of Class X 

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 III. 1. | Page 54
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×