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 |
Java is pass by value or pass by reference? Explain
Can we have 2 main methods in java class?
Is minecraft java edition free?
What is the function of http?
What is the purpose of a volatile variable?
Differentiate between run time error and syntax error.
what is a transient variable?
please send me hr interview questions in it industry
Why generics are used in java?
What is a stringbuilder?
Is java util regex pattern thread safe?
What is a Java switch statement, and how can it be used?