1. What is the purpose of the final keyword in Java programming? | ![]() |
2. How can we prevent a class from being subclassed in Java? | ![]() |
3. What is the purpose of the final keyword in the context of variables? | ![]() |
4. Can we declare a method as final and static at the same time in Java? | ![]() |
5. How does the final keyword affect performance in Java programming? | ![]() |