Questions Related to technology

Multiple choice technology programming languages
  1. t t1

  2. t1 t

  3. t t

  4. Compilation succeed but Runtime Exception

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology programming languages
  1. good

  2. null

  3. Compilation fails with an error at line 5

  4. Compilation succeed but Runtime Exception

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. 59

  2. Compile time error, because you have to do int total = ((Integer)(list.get(0))).intValue();

  3. Compile time error, because can't add primitive type in List.

  4. Compile Properly but Runtime Exception

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. Value of a is 7

  2. Compile Error - not able to access private member.

  3. Runtime Exception

  4. Value of a is 8

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. Compile with error - Not allowed to override the return type of a method with a subtype of the original type.

  2. class A - return C

  3. class B - return D

  4. Runtime Exception

Reveal answer Fill a bubble to check yourself
C Correct answer