1.

What type of methods an interface contain by default?(a) abstract(b) static(c) final(d) privateI had been asked this question in exam.I would like to ask this question from Interfaces in division Interfaces & Packages of Java

Answer»

Right choice is (a) abstract

Explanation: By default, interface CONTAINS abstract METHODS. The abstract methods need to be implemented by concrete CLASSES.



Discussion

No Comment Found

Related InterviewSolutions