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 does the “static” keyword mean?
How does finally block differ from finalize() method?
What is the base class of all exception classes?
Explain about narrowing conversion in java?
Can a class be defined inside an interface?
How does linkedhashmap work in java?
Can a class be private in java?
How many bytes is 255 characters?
What is the purpose of the finally clause?
Ducking is automatic in checked exception?True or false
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
how to use finalize()Method to resources