0

Interface

Is it true or false Interface contains only abstract methods?

14th May 2020, 4:18 PM
Haritha Vuppula
Haritha Vuppula - avatar
3 Answers
+ 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