what is finalmethod & final variable with example?
Answer Posted / dipesh
public final methodA(){
}
u can overirde final method & final variable can reassigned
another value & final varaiable value must be assingend at
the time of declaration
Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
Why can't we use static class instead of singleton?
How to solve the problem of generating the unique hash keys with hash function?
Explain JMS in detail.
Explain restrictions for using anonymous inner classes?
Name few java.lang classes introduced with java 8 ?
Why is a string immutable?
Can we split string with in java?
What is final variable?
What is javac in java?
What is final keyword in java? Give an example.
What does system.gc() and runtime.gc() methods do?
How to find the largest value from the given array.
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What is meant by overloading?