Which of these can be used to fully abstract a class from its implementation?
Answer is interfaces
bruh from Guwahati, India is saying None of the Mentioned. is correct answer
Vaibhav Bisht from Dehradun, India is saying Objects is correct answer
Assaad Amine from Casablanca, Morocco is saying Interfaces is correct answer
Zo Go from Casablanca, Morocco is saying Packages 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] import
- [B] Import
- [C] implements
- [D] Implements
- [A] interface
- [B] Interface
- [C] intf
- [D] Intf
- [A] set
- [B] EventListner
- [C] Comparator
- [D] Collection