What is overriding in java?
Answer / Manish Yadav
In Java, method overriding occurs when a subclass provides its own implementation of a method that is already present in the superclass. The purpose is to allow polymorphism, where objects can be treated as instances of their base class or any of their subclasses.
| Is This Answer Correct ? | 0 Yes | 0 No |
If a class is declared without any access modifiers, where can the class be accessed?
types of applets?.
What does provide mean construction?
How many types of exception can occur in a java program?
Explain thread life cycle in java?
What is a function in java?
Are maps ordered java?
What is the middleware?
How is hashset defined in java?
Can you declare the main method as final?
What is update method called?
Explain the difference between protected and default access.