java (inheritance of is-a principle)

is-a relationship

** SuperHero (child class) is a type of Hero (parent class) ** ** Relationship between abstract class (parent class) and concrete class (child class) **

has-a relationship

** Hero has a Sword **

Referenced image


Recommended Posts

java (inheritance of is-a principle)
[Java] Inheritance
Java inheritance
java (inheritance)
[Java] Class inheritance
[Java] Inheritance and structure of HttpServlet class
About java inheritance
[Java] Overview of Java
[Java] Overload / Override / Inheritance
Expired collection of java
Predicted Features of Java
[Java] Significance of serialVersionUID
NIO.2 review of java
Review of java Shilber
Summarize Java inheritance (Java Silver 8)
java --Unification of comments
History of Java annotation
java (merits of polymorphism)
About inheritance (Java Silver)
NIO review of java
[Java] Implicit inheritance memo
Java learning memo (inheritance)
[Java] Three features of Java
Summary of Java support 2018
Advanced inheritance abstract, interface -java
About an instance of java
[Java] Mirage-Basic usage of SQL
JAVA learning history interface inheritance
[Java] Beginner's understanding of Servlet-②
[Java11] Stream Summary -Advantages of Stream-
Basics of character operation (java)
[Java] Creation of original annotation
4th day of java learning
[Java] Beginner's understanding of Servlet-①
Java end of month plusMonths
[Java] Summary of operators (operator)
[Java] Implementation of Faistel Network
Java starting from beginner, inheritance
Summary of Java language basics
[Java] Summary of for statements
[Java] What is class inheritance?
Enumeration of all combinations Java
Implementation of gzip in java
Advantages and disadvantages of Java
Benefits of Java static method
[Java] Summary of control syntax
Implementation of tri-tree in Java
Summary of java error processing
[Java] Summary of design patterns
[Java] Summary of mathematical operations
[Java] Speed comparison of string concatenation
Think of a Java update strategy
[Java] Delete the elements of List
[For beginners] Summary of java constructor
Root cause of java framework bugs
About fastqc of Biocontainers and Java
[Java version] The story of serialization
Summary of [Java silver study] package
About Lambda, Stream, LocalDate of Java8
Story of passing Java Gold SE8
[Java] Output by FormatStyle of DateTimeFormatter