O'Reilly logo

Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition by Rolf W. Rasmussen, Khalid A. Mughal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Review Questions

6.12 Which statements are true about interfaces?

Select the two correct answers.

  1. Interfaces allow multiple implementation inheritance.

  2. Interfaces can be extended by any number of other interfaces.

  3. Interfaces can extend any number of other interfaces.

  4. Members of an interface are never static.

  5. Members of an interface can always be declared static.

6.13 Which of these field declarations are legal within the body of an interface?

Select the three correct answers.

  1. public static int answer = 42;

  2. int answer;

  3. final static int answer = 42;

  4. public int answer = 42;

  5. private final static int answer = 42;

6.14 Which statements are true about interfaces? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required