English

Find the output of the following program snippet: String s= "7"; int t =lnteger.parselnt(s); t = t + 1000; System.out.println(t); - Computer Applications

Advertisements
Advertisements

Question

Find the output of the following program snippet:

String s= "7"; 
int t =lnteger.parselnt(s); 
t = t + 1000; 
System.out.println(t);
One Word/Term Answer

Solution

1007

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Library Classes - EXERCISES [Page 178]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 2 Library Classes
EXERCISES | Q IV. 3. | Page 178
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×