diff options
author | Zachary Ferguson <zfergus2@users.noreply.github.com> | 2015-10-06 18:31:11 -0400 |
---|---|---|
committer | Zachary Ferguson <zfergus2@users.noreply.github.com> | 2015-10-06 18:31:11 -0400 |
commit | 01685afb8429f1b9756e97d6116ab7cbf24ce6c0 (patch) | |
tree | 5f6c33c2ee1bed0cb7ee28f1094aa899b5ced3c4 | |
parent | 93d7d801d8cd40417d88e67a248dd232d75cdd34 (diff) |
[java/en] removed excess abstract class
removed excess abstract class
-rw-r--r-- | java.html.markdown | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/java.html.markdown b/java.html.markdown index 39878c8f..6bfa6633 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -513,28 +513,6 @@ public class ExampleClass extends ExampleClassParent implements InterfaceOne, } } -// There are also two special types of classes, abstract and final. - - -public abstract class Mammal() -{ - // Abstract classes can contain concrete methods. - public boolean hasHair() - { - return true; - } - - // Final methods, like, final classes cannot be overridden by a child class. - public final boolean isWarmBlooded() - { - return true; - } - - // Abstract methods are methods required to be overridden in a child class. - public abstract String getBinomialNomenclature(); -} - - // Abstract Classes // Abstract Class declaration syntax // <access-level> abstract <abstract-class-name> extends <super-abstract-classes> { |