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
Explain purpose of sleep() method in java?
Can you start a thread twice in Java?
What about interthread communication and how it takes place in java?
Define an abstract class with reference to java.
Is heap stored in ram?
Can a abstract class be defined without any abstract methods?
What is a pattern what is an anti pattern?
Why are generics used?
Which non-unicode letter characters may be used as the first character of an identifier?
Describe what happens when an object is created in java ?
Can we create a class inside a class in java?
What is a layout manager and what are different types of layout managers available in java awt?
what happens when a thread cannot acquire a lock on an object? : Java thread
What are the uses of synchronized keyword?
What do you mean by global variable?