Which of these is Basic interface that all other interface inherits?
Answer is Collection
Shamsa hafeez from Lahore, Pakistan is saying Array is correct answer
Vaibhav Bisht from Dehradun, India is saying Set is correct answer
Assaad Amine from Casablanca, Morocco is saying Array is correct answer
Awa Kone from Berrechid, Morocco is saying List is correct answer
- [A] interface
- [B] Interface
- [C] intf
- [D] Intf
Which collection class associates values witch keys, and orders the keys according to their natural order ?
- [A] java.util.HashSet
- [B] java.util.LinkedList
- [C] java.util.TreeMap
- [D] java.util.SortedSet
- [A] import
- [B] Import
- [C] implements
- [D] Implements
- [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