Lab 1
Lab 1
1. Create a class for a student with attributes like name, roll number, and marks.
2. Implement a class method to display student details.
3. Create a BankAccount class with deposit and withdrawal methods.
4. Implement a class with both instance and static methods.
5. Create a Rectangle class with area and perimeter methods.
6. Implement inheritance with a base class and derived class.
7. Create a class for a library management system.
8. Implement method overriding in Python.
9. Create a class for an employee and compute salary details.
10. Implement operator overloading using a class.