1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 21:49:22 +01:00

Merge pull request #86 from soniah/master

Java - clarify extends
This commit is contained in:
Adam Bard 2013-07-02 08:55:22 -07:00
commit dceba637b3

View File

@ -329,7 +329,7 @@ class Bicycle {
}
} // end class Bicycle
// Use `extends` to extend a class
// PennyFarthing is a subclass of Bicycle
class PennyFarthing extends Bicycle {
// (Penny Farthings are those bicycles with the big front wheel.
// They have no gears.)