Answer Posted / bindhu solomon
In java, all methods are virtual functions by default. So
we can override a method in any subclasses .
| Is This Answer Correct ? | 123 Yes | 24 No |
Post New Answer View All Answers
Is it possible to override the main method?
When do you call copy constructor?
Can we have multiple public classes in a java source file?
What is use of map in java?
What does system.gc() and runtime.gc() methods do?
What is the final access modifier in java?
Is ++ operator is thread safe in java?
Difference between nested and inner classes ?
What is nan inf?
What is meant by string is immutable?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What is type parameter in java?
What is equlas() and hashcode() contract in java? Where does it used?
How to disable caching on back button of the browser?
What is the escape character in java?