Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Revision -
0
%
0
0
0
Back
Restart
Inheritance supports ________ of code.
reusability
Oops!
Okay!
Execution Count - int count = 0; for(int i = 1; i <= 3; i++) { for(int j = 1; j <= 2; j++) { count++; } } System.out.println(count);
6
Oops!
Okay!
What will be the output - System.out.println(Math.pow(2, Math.round(2.6)));
8
Oops!
Okay!
Grade 9 - Whole Syllabus
5
Oops!
Okay!
int x = -10; System.out.println(Math.abs(x) + Math.ceil(2.3));
13
Oops!
Okay!
Predict output - char ch = 'A'; System.out.println(ch + 1);
66
Oops!
Okay!
An error that occurs due to violation of Java grammar rules is called a ________ error.
syntax error
Oops!
Okay!
What will be the output - System.out.println(Math.floor(Math.abs(-5.9)));
6
Oops!
Okay!
Which Mathematical Library function return data type is int.
Math.rounnd()
Oops!
Okay!
missing semicolon is a ___________ error
Syntax error
Oops!
Okay!
int a = 7; int b = 4; System.out.println(Math.max(a, b) - Math.min(a, b));
3
Oops!
Okay!
what will be the output - System.out.println(Math.floor(Math.random() * 10));
Any number between 0 and 9
Oops!
Okay!
Errors that occur while the program is running are known as ________ errors.
runtime
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies