FINAL KEYWORD IN JAVA- INTERVIEW

Published: 03 June 2018
on channel: Sudipto Roy
123
5

Final keyword can be used with a :
variable
method
class
If you make any variable as final, you cannot change the value of final variable(It will be constant).
If you make any method as final, you cannot override it.
If you make any class as final, you cannot extend it.
A final method is inherited but you cannot override it.
A final variable that is not initialized at the time of declaration is known as blank final variable.
A static final variable that is not initialized at the time of declaration is known as static blank final variable. It can be initialized only in static block.


On this page of the site you can watch the video online FINAL KEYWORD IN JAVA- INTERVIEW with a duration of hours minute second in good quality, which was uploaded by the user Sudipto Roy 03 June 2018, share the link with friends and acquaintances, this video has already been watched 123 times on youtube and it was liked by 5 viewers. Enjoy your viewing!