What is method overriding in java ?



What is method overriding in java ?..

Answer / Abhishek Kumar Srivastava

Method overriding in Java occurs when a subclass provides a specific implementation for a method that is already present in its superclass. This allows the behavior of the method to be customized by the subclass.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Why java does not supports multiple inheritance?

3 Answers   TCS, VSoft,


Where we write javascript code in html page?

1 Answers  


What is a super class and how super class be called?

3 Answers  


What language is pass by reference?

1 Answers  


Can constructor be protected in java?

1 Answers  


What is the byte range?

1 Answers  


What are different types of inner classes ?

1 Answers  


Describe what happens when an object is created in java ?

1 Answers  


What is the difference between pageContext and page implicit objects in jsp?

9 Answers   Gspann Technologies, Merrill Lynch, Polaris,


how to one war file class to another war file class?

1 Answers  


What is java reflection api?

1 Answers  


what is aberivation of java?

14 Answers  


Categories