3
Answers

Query in Interface

prabhavathi23

prabhavathi23

19y
2.8k
1
Hi Friends A small Query in interface. I have created 2 interfaces with name of first and second and also created 2 class with the name of first and better. if i inhert the interface named first in class better it will inherit the interface or class ? or it will give error ? Note : I have created class and interface with same name.if we inhert,which one will inherited.Class or Interface? Thanks in advance Sridharan.M
Answers (3)