• Home
  • Java Tutorial
  • Language
  • Data Type
  • Operators
  • Statement Control
  • Class Definition
  • Development
  • Reflection
  • Regular Expressions
  • Collections
  • Thread
  • File
  • Generics
  • I18N
  • Swing
  • Swing Event
  • 2D Graphics
  • SWT
  • SWT 2D Graphics
  • Network
  • Database
  • Hibernate
  • JPA
  • JSP
  • JSTL
  • Servlet
  • Web Services SOA
  • EJB3
  • Spring
  • PDF
  • Email
  • J2ME
  • J2EE Application
  • XML
  • Design Pattern
  • Log
  • Security
  • Apache Common
  • Ant
  • JUnit

Interface « Class Definition « Java Tutorial






  1. Java Tutorial
  2. Class Definition
  3. Interface
5.29.Interface
5.29.1.Interfaces and Abstract Classes
5.29.2.Fields and Methods in an Interface
5.29.3.To implement an interface: use the implements keyword after the class declaration
5.29.4.A Partial Interface Implementation
5.29.5.Extending Interfaces
5.29.6.Interfaces and Multiple Inheritance
5.29.7.Interfaces and Polymorphism: Using Multiple Interfaces
5.29.8.Nesting Classes in an Interface Definition
5.29.9.Encapsulating Constants in a Program








5.29.10.Multiple interfaces
5.29.11.Initializing interface fields with non-constant initializers

java2s.com  | © Demo Source and Support. All rights reserved.