skip to main content
article

When to use an interface?

Published:01 June 2006Publication History
Skip Abstract Section

Abstract

Interface, as an object-oriented programming construct, has been one of the most difficult concepts for students to understand and apply properly. Textbooks often only address the shallow side of usefulness of interfaces, and some may even mislead as to when and how an interface should be used. This article argues that the interfaces can only be effectively taught in a context of program design. The material is appropriate to be included in a second course on programming.

References

  1. Dale, N. et al. Object-Oriented data Structures Using Java, Jones and Bartlett, 2002]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Farrell, J. Java Programming, 3rd Ed, Course Technology, 2006]]Google ScholarGoogle Scholar
  3. Malin, D. S. Java, Programming -- from problem analysis to program design, 2nd Ed, Course Technology, 2006]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. The Java#8482; Tutorial. Retrieved 11/25/2005, from http://java.sun.com/docs/books/tutorial/java/concepts/interface.html]]Google ScholarGoogle Scholar
  5. Shalloway, A. & Trott, J. Design Patterns Explained, Addison Wesley, 2005]]Google ScholarGoogle Scholar

Index Terms

  1. When to use an interface?

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader