Abc Sheet
Abc Sheet
1. Create an abstract class Animal with abstract methods make_sound() and eat().
2. Create concrete subclasses Dog, Cat, and Bird that inherit from Animal.
3. Implement the abstract methods in the subclasses to represent the specific sounds and
eating habits of each animal.
1. Create an abstract class Vehicle with abstract methods start(), stop(), and move().
2. Create concrete subclasses Car, Motorcycle, and Bicycle that inherit from Vehicle.
3. Implement the abstract methods in the subclasses to represent the specific actions of each
vehicle.
1. Create an abstract class Shape with abstract methods area() and perimeter().
2. Create concrete subclasses Circle, Rectangle, and Triangle that inherit from Shape.
3. Implement the abstract methods in the subclasses to calculate the area and perimeter of
each shape.
2. Create concrete subclasses TextFile and BinaryFile that inherit from FileOperation.
3. Implement the abstract methods in the subclasses to perform file operations on text and
binary files.
1. Create an abstract class Database with abstract methods connect(), query(), and close().
3. Implement the abstract methods in the subclasses to connect to and interact with MySQL
and PostgreSQL databases.