What is final class?

Ads
 

What is final class?

Hi,

What is final class?

thanks

View Answers

April 9, 2013 at 1:03 PM

Hi,

A final class is not be saubclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable (is a constant). For more visit http://www.roseindia.net/javatutorials/final_methods.shtml

Ads









Related Tutorials/Questions & Answers:
What is final class?
What is the purpose of declaring a variable as final?
Advertisements
What's new in Hibernate 4.3.0 Final?
What does it mean that a class or member is final?
final
ModuleNotFoundError: No module named 'classh'
ModuleNotFoundError: No module named 'classh'
final keyword
final variable
Final Methods - Java Tutorials
difference between enum and final class?
ModuleNotFoundError: No module named 'Classy'
The final Keyword
Java Final Variable
private static final
Java final keyword
Java final
Can a abstract class be declared final?
Version of com.47deg>classy-cats_2.11 dependency
Version of com.47deg>classy-cats_2.12 dependency
Version of com.47deg>classy-cats_sjs0.6_2.11 dependency
Version of com.47deg>classy-cats_sjs0.6_2.12 dependency
Version of com.47deg>classy-core_2.11 dependency
Version of com.47deg>classy-core_2.12 dependency
Version of com.47deg>classy-core_sjs0.6_2.11 dependency
Version of com.47deg>classy-core_sjs0.6_2.12 dependency
Version of com.47deg>classy-generic_2.11 dependency
Version of com.47deg>classy-generic_2.12 dependency
Version of com.47deg>classy-generic_sjs0.6_2.11 dependency
Version of com.47deg>classy-generic_sjs0.6_2.12 dependency
Version of com.fortysevendeg>classy-cats_2.11 dependency

Ads