Review Questions

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 8.  Interfaces


1:

Can you define a private interface?

2:

Can you provide a default implementation for any methods defined in an interface?

3:

How do you implement an interface?

4:

What is multiple inheritance?

5:

What is the danger of multiple inheritance?

6:

Should functionality that is representative of an object go into that object's class or an interface?

7:

When would you use an interface, and when would you use an abstract class?

8:

Describe diamond inheritance.


       
    Top
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net