This Java program demonstrates abstract classes and inheritance using a base class Shape and two subclasses: Triangle and Rectangle. 🔹 Classes: Shape: Abstract class with side, area, and perimeter.