1- Which of the following expression results in a value 1?25 % 515 % 42 % 137 % 6
2- What is the exact output of the following code?
double average = 4.75;System.out.print(" average ");System.out.print(average);
4.75 average
4.75 4.75
average 4.75
average average
3- If a program compiles fine, but it terminates abnormally at runtime, then the program suffers ____.a syntax errora runtime errora logic error
4- What is the value of
5 / 2
2
2.5
3
2.0
5- To assign a value 100 to variable number, you write ____.
100 = number;
number = 100;
number == 100;
100 == number;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here