What is the use of final keyword in Java? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
683 followers study24x7 13 Apr 2019 06:41 PM study24x7 study24x7

What is the use of final keyword in Java?

A

When a class is made final, a sublcass of it can not be created.

B

When a method is final, it can not be overridden.

C

When a variable is final, it can be assigned value only once.

D

All of the above

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles