0

Interface

Is it true or false Interface contains only abstract methods?

14th May 2020, 4:18 PM
Haritha Vuppula
Haritha Vuppula - avatar
4 odpowiedzi
+ 1
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..
14th May 2020, 5:45 PM
Jayakrishna 🇮🇳
+ 1
i know it is true but in one java quiz it got false! i think it was wrong ans thank you Царь СОБАКА - Догго l
14th May 2020, 5:27 PM
Haritha Vuppula
Haritha Vuppula - avatar
14th May 2020, 5:47 PM
Haritha Vuppula
Haritha Vuppula - avatar