Summary

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 8.  Interfaces


This chapter introduced you to Java's concept of interfaces. Interfaces are defined much the same way as classes, but with the interface keyword. Other differences are that all methods are public and abstract by default. You can define attributes to interfaces, but they must be static and final.

The big difference between classes and interfaces comes in how you use them. This chapter dedicated a lot of space to help you make this differentiation.

The next chapter will introduce you to Java's implementation of exception handling.


       
    Top
     



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

    Similar book on Amazon

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