#39 Final Keyword in Java | In Tamil | Java Tutorial Series | Error Makes Clever

Опубликовано: 17 Сентябрь 2024
на канале: Error Makes Clever
3k
68

In this video, we'll explore the final keyword in Java and show you how to use the types in Java.

Basically, the final keyword ensures that something is assigned or defined, it cannot be changed or overridden.

Now, let's learn how the final keyword types work. We are starting with the final "variables", which will discover how to create constants that can’t be changed once set and we are moving to the final "methods", which will show you how to prevent the method from being overridden in subclasses. Finally, it is the final "classes", in this class we'll understand how to prevent classes from being extended.

Java in Tamil

Join our 700K+ Instagram community