what is mean by overriding in which situation we wil use?

Answer Posted / rishi

Whenever we use same mathod with the same signature that we
call mathod overloding and we use it, when we use
inharitence or abstract class.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of :: in java?

572


Difference between predicate, supplier and consumer ?

586


How to handle a web browser resize operation?

545


How do you write a good declaration?

498


Can we define package statement after import statement in java?

562






Explain about anonymous inner classes ?

582


Are true and false keywords?

580


Is object a data type?

564


what state does a thread enter when it terminates its processing? : Java thread

602


What is the difference between the boolean & operator and the && operator in java programming?

570


how to write a program for sending mails between client and server

1557


What is the exact difference in between Unicast and Multicast object? Where will it be used?

589


What is super?

589


Is null an object java?

541


What is a parameter in a function?

530