when we have to use final class in java?
Answers were Sorted based on User's Feedback
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 |
What is deadlock and how to avoid this?
Does java set allow duplicates?
What is a Java package and how is it used?
What is foreach loop in java?
How do generics work in java?
What is hashtable and explain features of hashtable?
What is a stack class in java ?
0 Answers Akamai Technologies,
What is tcp ip in java?
Can static methods access instance variables in java?
How many objects are created when we create String class object using new operator?
Nested classes VS Inner classes?
What is java and their uses?