Tag: programming languages

Questions Related to programming languages

Multiple choice technology programming languages
  1. Flip a Clidlet

  2. Flip a Clidder

  3. Flip a Clidder Flip a Clidlet

  4. Flip a Clidlet Flip a Clidder

  5. Compilation fails

Reveal answer Fill a bubble to check yourself
E Correct answer
Multiple choice technology programming languages
  1. public abstract class Frob implements Frobnicate { public abstract void twiddle(String s){} }

  2. public abstract class Frob implements Frobnicate { }

  3. public class Frob extends Frobnicate { public void twiddle(Integer i) { } }

  4. public class Frob implements Frobnicate { public void twiddle(Integer i) { } }

  5. public class Frob implements Frobnicate { public void twiddle(String i) { } public void twiddle(Integer s) { } }

Reveal answer Fill a bubble to check yourself
B,E Correct answer
Multiple choice technology programming languages
  1. Beagle b2 = (Beagle) dog1;

  2. Beagle b3 = (Beagle) dog2;

  3. Beagle b4 = dog2;

  4. None of the above statements will compile.

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Multiple choice technology programming languages
  1. x2.do2( );

  2. (Y) x2. do2( );

  3. ((Y)x2).do2();

  4. None of the above statements will compile.

Reveal answer Fill a bubble to check yourself
C Correct answer