Relationships (IS-A and HAS-A) in Java code example
Example: is a relationsiop in java
public class Actress extends Person { public String readScript(String movie) { return "Reading the script of " + movie; } // additional methods/constructors}