Implementing Interfaces


Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 8.  Interfaces

Classes implement interfaces using the keyword implements:

 [public] [qualifiers] class classname implements iname [,i2name] 
  • Classes can implement any number of interfaces

  • Classes can be abstract and/or final

  • Classes can extend a class and still implement any number of interfaces


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

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: