adplus-dvertising
frame-decoration

Question

Select the correct implementation of the interface which is mentioned below.
interface a1
{
    int fun(int i);
}

a.

class a
{
int fun(int i) as a1.fun
{
}
}

b.

class a: implements a1
{
int fun(int i)
{
}
}

c.

class a: a1
{
int a1.fun(int i)
{
}
}

d.

None of the mentioned

Posted under C# programming

Answer: (c).class a: a1
{
int a1.fun(int i)
{
}
}

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Select the correct implementation of the interface which is mentioned below.