Vidyalelo
Java Programming · Q21

Interfaces and Abstract Classes

Programming · Java Programming · question 21

Q21

What is the purpose of the "final" keyword in Java?

A.
To declare an abstract method
B.
To create a static class
C.
To indicate that a class, method, or variable cannot be further extended, overridden, or modified
Answer
D.
To indicate that a method is abstract

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board