- Home
- Studylists
Output Questions for Class 10 ICSE Computer Applications
Output Questions for Class 10 ICSE Computer Applications
Java Math Lib Methods
Predict the output of the following:
System.out.println(Math.cbrt(42.875));View Answer47 Likes
Java Math Lib Methods
Predict the output of the following:
System.out.println(Math.sqrt(10.24));View Answer120 Likes
Java Math Lib Methods
Give the output of the following:
- Math.floor (-4.7)
- Math.ceil(3.4) + Math.pow(2, 3)
View Answer32 Likes
Java Math Lib Methods
Give the output of the following Math functions:
- Math.ceil(4.2)
- Math.abs(-4)
View Answer13 Likes
Java Math Lib Methods
Give the output of the following:
- Math.max(Math.ceil(14.5), 15.5)
- Math.sqrt(Math.abs(-225))
View Answer14 Likes
Java Library Classes
Give the output of the following code:
String P = "20", Q ="19"; int a = Integer.parseInt(P); int b = Integer.valueOf(Q); System.out.println(a+""+b);View Answer44 Likes
Java Library Classes
Find the output of the following program snippet:
char c = 'B'; int i = 4; System.out.println(c+i); System.out.println((int)c+i);View Answer57 Likes
Java Library Classes
Find the output of the following program snippet:
String s= "7"; int t =Integer.parseInt(s); t=t+1000; System.out.println(t);View Answer18 Likes
Java Library Classes
Find the output of the following program snippet:
char c = 'B'; int i = 4; System.out.println(c+i); System.out.println((int)c+i);View Answer53 Likes
Java Library Classes
Find the output of the following program snippet:
char ch = 'x'; int n = 5; n = n + (int)ch; char c = (char)n; System.out.println((char)((int)c-26));View Answer113 Likes