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 does isempty () do in java?

0 Answers  


How to invoke external process in java.

0 Answers  


What defines function?

0 Answers  


In how many ways we can do exception handling in java?

0 Answers  


What’s the difference between constructors and other methods?

0 Answers  






What is a java list?

0 Answers  


Explain about main() method in java ?

0 Answers  


What is difference between path and classpath in java?

0 Answers  


What is the effect of keeping a constructor private?

0 Answers  


Why there is no call by reference in java?

0 Answers  


Difference between String and String Buffer?

3 Answers  


What is a functional interface?

0 Answers  


Categories