Question OOP-ABS-0048
MediumSince Java 8, which can an interface contain?
- A.
Abstract, default and static methods
- B.
Instance fields
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Abstraction and Interfaces question
Since Java 8, which can an interface contain?
Abstract, default and static methods
Instance fields
Sign up free to see the answer and a step-by-step explanation.
Constructors
Only abstract methods