Variables and Constant

Java Programming quiz on Variables and Constant-2

1
Created on By 52fd849a905aedf0249df9e69d61b55a?s=32&d=mm&r=gwefru

Variables and Constant

TEST YOUR SKILLS BRODLY

1 / 10

Q.61 The ……………… and ……………….. classes are abstract classes that support reading and writing of byte streams.

2 / 10

Q.62

What is the error in the following code?
class Test
{
abstract void display( );

}

3 / 10

Q.63 A package is a collection of

4 / 10

Q.64 Which of the following methods belong to the string class?

5 / 10

Q.65 What will be the output of the following code?
byte x=64, y;
y= (byte) (x<<2);
System.out.println(y);

6 / 10

Q.66 If m and n are int type variables, what will be the result of the expression
m%n
when m=5 and n=2 ?

7 / 10

Q.67 Which of the following control expressions are valid for an if statement?

8 / 10

Q.68 The concept of multiple inheritances is implemented in Java by

9 / 10

Q.69 Which of the following do not represent legal flow control statements?

10 / 10

Q.70  Data input is

Your score is

The average score is 50%

0%

Leave a Reply

Your email address will not be published. Required fields are marked *