How can final class be used?

Answer Posted / chinmay

To prevent inheritance final class is used.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of using the java bean?

578


What are the differences between string and stringbuffer?

599


Does importing a package imports its sub-packages as well in java?

562


What is the difference between variable declaration and variable initialization?

512


What is a parameter used for?

528






What is the difference between conversation & casting?

586


Difference between overriding and overloading in java?

589


What are the main uses of java?

535


What is the size of string?

570


What is the function of compareto in java?

597


In which language java is written?

546


How to do encapsulation in java?

580


What is natural ordering in java?

540


When do I need to use reflection feature in java?

629


Difference between current previous versions of Java?

561