What is meant by final class, methods and variables?
Answer Posted / suresh chand
final class: we can't inherit that class
final method: we can't override that method
final variable: we can't change the value of that var.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Can we use return in constructor?
How to read and write image from a file ?
What is prefix of a string?
what are the states associated in the thread? : Java thread
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
Explain about fail safe iterators in java?
Is string passed by reference in java?
what is aggregation in java?
What will happen if a thrown exception is not handled?
How do I print a “?
What is indexof?
What are the two types of java programming?
What is the size of a string in java?
What is the collections api?