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

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
86 followers study24x7 18 Apr 2019 08:00 PM study24x7 study24x7

What is the use of the final keyword in Java?

What is the use of the final keyword in Java?<br styl...
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