Prev Next

Java / Modifiers

Explain the final keyword in Java.

A final keyword in Java is used on a class, with a variable and with a method and it restricts any further modification . When you use final keyword with an entity (class or variable or method), it denotes that the entity is complete and can not be modified further.

More Related questions...

Show more question and Answers...


Comments & Discussions