Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Abstraction

abstract class Animal {
  public abstract void animalSound();
  public void sleep() {
    System.out.println("Zzz");
  }
}
 
PREVIOUS NEXT
Tagged: #Java #Abstraction
ADD COMMENT
Topic
Name
2+8 =