0
What is enum? We can use final also. What is difference between enum and final?
1 ответ
+ 1
Final is used to mark any type of variable as a constant that cannot change. An enum provides a finite set of items with which you can choose from, like a list of months in the year.