Final Keyword in Java Programming - final variables | final methods | final classes

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- The final keyword in java is used to restrict the user. The java final keyword can be used in many context.

Final can be:
1. Variable
2. Method
3. Class
Final is a non-access modifier applicable only to a variable, a method or a class.

Basically final keyword is used to perform 3 tasks as follows –
1. To create constant variables
2. To prevent method overriding
3. To prevent Inheritance

Simple Snippets Official Website -
Simple Snippets on Facebook -
Simple Snippets on Instagram -
Simple Snippets on Twitter -
Simple Snippets Google Plus Page -
Simple Snippets email ID -

Рекомендации по теме
Комментарии
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

SimpleSnippets
Автор

you're really really great!!! : )

sakshisaraswat
Автор

The best video for learning Java ...smooth and very much informative. Thanks to Tanmay.

tanumaysaha
Автор

You are the Best Bro! Thank You so much !!

rohandsouza
Автор

Could you make a video or suggest an understandable source for Time complexity analysis?

yadhunandhanr
welcome to shbcf.ru