Can a class in Java be both abstract and final?
Shathana. S.R. Answered question September 7, 2023
- An abstract cannot be instantiated.
- Therefore to use an abstract class you need to create another class and extend the abstract class and use it.
- If a class is final you can’t extend it further.
Shathana. S.R. Answered question September 7, 2023