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 hashing principle in java?

548


What is the purpose of a transient variable?

579


What is n in java?

535


Name few java util classes introduced with java 8 ?

495


What is java and its types?

547






How do you remove an element from an arraylist in java?

458


Differences between external iteration and internal iteration?

570


How can you share data between two thread in Java?

520


Why does java doesnt suuport unsigned values?

1792


What Is Composition?

575


What is the purpose of final keyword and when to use it?

521


How do I write a self declaration?

547


What is the difference between dom and sax parser in java?

526


What are the 6 functions?

505


Can you pass functions in java?

568