Which keyword is used while using interface ?
Vaibhav Bisht from Dehradun, India is saying implements is correct answer
Assaad Amine from Casablanca, Morocco is saying implements is correct answer
Awa Kone from Berrechid, Morocco is saying implements is correct answer
ayoub benigmim from Casablanca, Morocco is saying implements is correct answer
AHMED SOULIMANI from Casablanca, Morocco is saying implements is correct answer
- [A] set
- [B] EventListner
- [C] Comparator
- [D] Collection
- [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] Destructors
- [B] Object
- [C] Variable
- [D] Constructor
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