I am a novice, I met a problem, do not understand, as follows:
class Animal {} class Cat extends Animal {} class Garfield extends Cat {} public class Demo {