What is the difference between Overloading and Overriding ?

What is the difference between Overloading and Overriding ?

Interview Happy

2 года назад

15,016 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@chintanpatel851
@chintanpatel851 - 21.07.2023 12:13

We can achieve overloading within the same class as well as using parent-child relationship also.

Ответить
@manojjangid6213
@manojjangid6213 - 25.05.2023 19:34

If we create object for both class and calling same name function separately then what will be get output.

Ответить
@manojjangid6213
@manojjangid6213 - 25.05.2023 19:31

If we used overriding concept and after inherit then we will get drived classes 's output . So what is use of base class same name function. Why we use overriding

Ответить
@waqasmumtaz6109
@waqasmumtaz6109 - 09.04.2023 17:14

Happy Happy Sir

Ответить
@premamurugesan1804
@premamurugesan1804 - 10.10.2022 18:03

Very interesting because separate the small part of question.

Ответить