Computer Science, asked by aadeshshinde43, 1 month ago

8) When a class is defined with "final" keyword, the effect will be?​

Answers

Answered by yogeshbhuyal7
0

Answer:

When a class is declared with final keyword, it is called a final class. A final class cannot be extended(inherited). There are two uses of a final class : One is definitely to prevent inheritance, as final classes cannot be extended.

Similar questions