Task Description: Tips & Tricks
Create Shape abstraction:
- Shape should be an abstract class
- Shape should have an abstract and parameterless method: area
Create implementation of Rectangle class
- Rectangle should be Shape subclass and has fields height and width of type float
- Rectangle should implement method: area
- Rectangle should haas constructor with parameters height and width
Create implementation of Triangle class
- Triangle should a Shape subclass
- Triangle should has fields a,b,c and can exist if no a,b,c should be 0
- Triangle should implement method: area (Heron equation)
Create implementation of Circle class
- Circle should be final
- Circle should extend Shape and has r