Explain difference between final, finally and finalize?
Answer Posted / mukund viswanath vyavhare
Final -it is keyword .It is use for
variables and method.
Finally-it is use to define a block
that is always executed in try
catch and finally stetment.
Is This Answer Correct ? | 11 Yes | 7 No |
Post New Answer View All Answers
What are actual parameters?
What is nan in java?
What type of variable is error flag?
Can I import same package/class twice?
Write a program to find the whether a number is an Armstrong number or not?
What happens when main () method is declared as private?
What is better - 'bit-shift a value' or 'multiply by 2'?
What are the differences between processes and threads?
Is a method a procedure?
How do you implement tree mirroring in java?
What does percent mean in java?
What is the base class of all classes?
Which browsers work with java?
What is port number in java?
What about anonymous inner classes in java?