No products in the cart.

Is there any types of polymorphism …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Is there any types of polymorphism ???
  • 1 answers

Suhail Hussain 6 years, 4 months ago

Yes there are 2 types of polymorphism. 

1. Function overloading.: Here functions have same name but they differ in number of aurguments passed or type of argument. E.g sum( int x, int y) and sum(float x, float y). Here number of aurgumets are same but there type is different. Sum(int a) sum (int a, int b) here type is same but number of aurguments are different. 

2. Operator overloading: in this one operator is made to do different things like + does sum of 2 numbers but we can overload it and can make it concatinate 2 strings

http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers
What is mean by buffering in file handling?
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App