Interface | Sololearn: Learn to code for FREE!



Is it true or false Interface contains only abstract methods?

5/14/2020 4:18:23 PM

Haritha Vuppula

4 Answers

New Answer


Indian question is about in addition to methods : it may contain constants (variables which are static and final).. From java 8, it is allowed to have default and static methods in interfaces... So answer is false only..


True. But what's the point of this? You could have checked the lesson:


i know it is true but in one java quiz it got false! i think it was wrong ans thank you Царь СОБАКА - Догго l


thank uJayakrishna🇮🇳