If class Dog extends class Animal, which statement is correct?
Dog
Animal
D) Dog and Animal share a "Has-A" relationship.
B) Dog is a type of Animal according to Java inheritance.
A) Dog has a strong association with Animal through composition.
C) Animal is a component of Dog.