Composition is a has-a relationship. 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}