Final Keyword in JAVA
HTML-код
- Опубликовано: 18 сен 2024
- Hello Friends, In this video we'll talk about final keyword.
-- final keyword use with variable , methods and class
-- if make a variable final then variable become constant
-- if you make method as final no one can override your method.
-- if you make class final then no one can inherite your class
-- but you can use the final class by making object of final class