difference between overloading and overridding

Answer Posted / poorna chandar rao

mainly overloading and overriding is used java polymorphisum
conbcept
overloading is method name same and method signature also
same it is called static polymorphisum when object is
created that decided by static polymorphisum

overriding is method name same but differtn arguments this
is called dynamic ploymaorphisum

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by Encapsulation?

842


Why polymorphism is used in oops?

826


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2319


What are the three main types of variables?

870


What is oops in simple words?

850


Why do we use oops?

798


what type of question are asked in thoughtworks pair programming round ?

1997


What is the use of oops?

832


What is the main feature of oop?

932


What is this pointer in oop?

837


What is the fundamental idea of oop?

898


What is class and object with example?

858


What is property in oops?

824


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

986


What is oops?what is its use in software engineering?

797