Java Inheritance 2

Problem Name:
Java Inheritance 2
Site:HackerRank
Links:
Tags:
Problem setters: