Computer Applications
Find the output of the following program snippet:
String s= "7";
int t =Integer.parseInt(s);
t=t+1000;
System.out.println(t);
Related Questions
Write a program in Java to display the following pattern:
ABCDE
ABC
AWrite a program in Java to display the following pattern:
PRTV
PRT
PR
PWrite a program in Java to display the following pattern:
A*B*C*D*E*
A*B*C*D*
A*B*C*
A*B*
A*Write a program in Java to display the following pattern:
a a a a a
b b b b b
A A A A A
B B B B B