Interfaces helps in which type of inheritance ?
Answer is Multiple inheritance
it supports mutilple inheritance .
no, interface helps in multiple inheritance due to it over come dimond problem in multiple inheritance
Shamsa hafeez from Lahore, Pakistan is saying Hierarchical inheritance is correct answer
Vaibhav Bisht from Dehradun, India is saying Multiple inheritance is correct answer
- [A] Interfaces specifies what class must do but not how it does.
- [B] Interfaces are specified public if they are to be accessed by any code in the program.
- [C] All variables in interface are implicitly final and static.
- [D] All variables are static and methods are public if interface is defined pubic
- [A] interface
- [B] Interface
- [C] intf
- [D] Intf
- [A] set
- [B] EventListner
- [C] Comparator
- [D] Collection