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 |
Explain throw keyword in java?
What is difference between null and void?
How do you sing an Applet ?
Is simpledateformat safe to use in the multithreaded program?
Can we nested try statements in java?
How large is a boolean?
What are the types of sockets in java?
What does substring mean?
There are 100 keys and values in HashMap.how to get the keys and values?
how come we know the object is no more used in the class?
What is difference between next () and nextline () in java?
Why is a singleton bad?