1.

Can you define something about the Final keyword in Java?

Answer»

Can you define something about the Final keyword in Java?
When we USED to restrict a class, VARIABLE and method we generally used Final keyword. We can also say final keyword as non-access specifier. Whenever we INITIALIZE any variable with final keyword we cannot modify its values. And one more thing is that when we declare a method as final it cannot be overridden by any of subclasses.



Discussion

No Comment Found