Final keyword in java is used to restrict usage of variable, class and method.
Variable: Value of Final variable is constant; you cannot change it.
Method: you cannot override a Final method.
Class: you cannot inherit from Final class.
Read More
- Encapsulation
- Explain how you can exclude dependency?
- Write a Java program to draw pattern 3
- HTML Plug-ins
- Microservices – Hystrix Dashboard
- HTML Responsive
- JavaScript Objects
- Write SQL query to find second highest salary?
- HTML Classes
- HTML Quotations
- HTML CSS
- HTML Links
- CSS Text
- What is EC2 service in AWS?
- Polymorphism
- HTML Attributes
- How do you create SessionFactory in Hibernate?
- What is the difference between innerHTML and innerText?
- Microservices – Discovery Patterns
- Composition