Tricky Interview Question | Difference between final, finally and finalize in Java

preview_player
Показать описание
1)final: Can be used for variable, method and class
2)finally: Used in association with try/catch block to clean-up the resources
3)finalize: Called by Garbage collector for clean-up activities
4)Example program to illustrate the above

--------------------------------------------------------------------------------------------------------------
Checkout the Playlists:
👉 Java Tutorial For Beginners:

👉 Design Patterns in Java

👉 Tricky Java Interview Questions

👉 Important Java Programs for Interview:

👉 How to Avoid Common Mistakes as a Java Beginner

👉 Interview Coding Challenges

👉 MySQL Tutorial For Beginners:

👉 What is Agile | Understanding Agile Software Development Process:

👉 Selenium with Java Tutorial For Beginners:

LIKE | SHARE | SUBSCRIBE 😊
#final #finally #finalize #java

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

Very clear explanation thankyou. Keep going in multiple videos

srivimala
Автор

Nice teaching sir #respect always keep it up

prasannakv