Practical 11: Interfaces and Default Interface Methods
- Define an interface "Shape" with methods for area and perimeter.
- Implement the "Shape" interface in classes like "Rectangle" and "Circle".
- Create another interface "Resizable" with a default resizing method.
- Implement this interface in the "Rectangle" class and demonstrate the use of the default method.
- Implement multiple interfaces in a class and showcase method usage from both interfaces.