Consider following scenario: I have two interfaces A
and B
. Both interfaces have a member function display()
.
public interface A {
public function display() {
}
}
public interface B {
public function display() {
}
}
class C implement A, B {
public function display{
//definition here
}
}
I just want to know
- how many
display()
functions are available in classC
? - If there is one member function, how it is possible?