2
Answers

Interface

Krunal Parate

Krunal Parate

9y
348
1
if i want to implement 2 interfaces in one class but if both interface contain same method with same name with same definaition. can we Implement it.
eg:-
interface IClass
{
int sum(int x, int y);
void mult(int x, int y);
}
interface IClass2
{
int sum(int x, int y); 
void div(int x, int y);
}
 here sum method has same name and same definition

Answers (2)