Specifications

Sun Services
Java™ Programming Language
Module 6, slide 7 of 43
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Single Inheritance
When a class inherits from only one class, it is called
single inheritance.
Interfaces provide the benefits of multiple inheritance
without drawbacks.
Syntax of a Java class is as follows:
<modifier>
class
<name> [
extends
<superclass>]
{
<declaration>*
}