Answer Posted / rakesh kumar jha
In java all method use dynamic method lookup and therefore
are be default virtual. so there is no way to explicity
call an overriden base class method, but overwriting can be
prevented by declare a method final.
| Is This Answer Correct ? | 29 Yes | 12 No |
Post New Answer View All Answers
What is the abstraction?
Can a static method be final?
What is the implementation of destroy method in java. Is it native or java code?
What is java life cycle?
What are alternatives to java serialization?
I don’t want my class to be inherited by any other class. What should I do?
How is hashcode calculated in java?
What is the purpose of format function?
What is the generic function?
Why does java have two ways to create child threads? Which way is better?
What is incompatible types in java?
Is java developer a good career?
Are primitives objects?
How do you override a private method in java?
How will you print number in reverse (descending) order in BST.