Is the following code right with respect to the concept of Interfaces? What's wrong with the code if use it as it is?
public Interface ISum
{
public void Sum()
{
int a,b,result; /*Assuming that we have the user's values for a and b.*/
result = (a+b);
}
}
Reveal answer
Fill a bubble to check yourself