Parent class and child class example.