Tag: Enum

0

About java enum inheritance

java enum object can express the relationship of inheritance easily. the calculator enum object implements the abstract method named ‘calculate()’ as you can see the below code. the each elements in t