Compilation error (line 235, col 14): Inconsistent accessibility: base class 'Animal' is less accessible than class 'Dog1'
Compilation error (line 243, col 14): Inconsistent accessibility: base class 'Dog' is less accessible than class 'Puppy'
Compilation error (line 271, col 14): Inconsistent accessibility: base class 'Animal' is less accessible than class 'Dog2'
Compilation error (line 279, col 14): Inconsistent accessibility: base class 'Animal' is less accessible than class 'Cat'
Compilation error (line 41, col 17): Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.