summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:31:11 -0400
committerZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:31:11 -0400
commit01685afb8429f1b9756e97d6116ab7cbf24ce6c0 (patch)
tree5f6c33c2ee1bed0cb7ee28f1094aa899b5ced3c4 /java.html.markdown
parent93d7d801d8cd40417d88e67a248dd232d75cdd34 (diff)
[java/en] removed excess abstract class
removed excess abstract class
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown22
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> {