when we have to use final class in java?

Answers were Sorted based on User's Feedback



when we have to use final class in java?..

Answer / shailendra sharma

Final class can not be inherited.

Is This Answer Correct ?    29 Yes 1 No

when we have to use final class in java?..

Answer / rana

A class is said to be final when i dnt want my class to be
extended by any class so that methods implementation cannot
be changed.
For ex String is a final class

Is This Answer Correct ?    31 Yes 3 No

Post New Answer

More Core Java Interview Questions

What is qualitative variable?

0 Answers  


Can we make main() thread as daemon?

0 Answers  


What is instance synchronization?

0 Answers  


What is a JAR file?

0 Answers  


What is a final class in java?

0 Answers  






What are the types of literals?

0 Answers  


What is the is a and has a relation ship in oops concept in java?

9 Answers   BearingPoint, TCS,


what is the use of reference variable

6 Answers  


What is the difference between length and length () in java?

0 Answers  


how many types of cloning?

4 Answers   Mobily,


What is jpa specification?

0 Answers  


How to perform binary search in java?

0 Answers  


Categories