Computer Science, asked by abhaym1213, 1 year ago

Explain about constructor overloading and method overloding

Answers

Answered by MarsMan
1
when you give different arguments to a constructor.

example

class abc
{

abc ( )
....

abc (int a)

....

abc (int a, int b)
....

}
the constructor abc has different arguments in brackets , called constructor overloading.
Similar questions