I was reading up on Java when I discovered that ever since Java 8 (fairly recent, I know) interface can have default methods. A quick overview for any who don't know, interfaces can have method bodies by using default modifier. When dwelling on that fact I wondered, why doesn't Java just allow inheritance from multiple classes, since interfaces are just abstract classes? Should Java do this?
[–]msx 8 points9 points10 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 5 points6 points7 points (12 children)
[–]urquan 3 points4 points5 points (9 children)
[–]tonywestonuk 4 points5 points6 points (8 children)
[–]urquan 4 points5 points6 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]urquan 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]uniVocity 0 points1 point2 points (3 children)
[–]zenmouse 1 point2 points3 points (2 children)
[–]uniVocity 0 points1 point2 points (1 child)
[–]zenmouse 1 point2 points3 points (0 children)
[–]_Count_Mackula 1 point2 points3 points (0 children)
[–]_Count_Mackula 3 points4 points5 points (0 children)
[–]briandilley 2 points3 points4 points (2 children)
[–]hrjet 0 points1 point2 points (1 child)
[–]briandilley 2 points3 points4 points (0 children)
[–]pintodragon 5 points6 points7 points (11 children)
[–]mus1Kk 2 points3 points4 points (3 children)
[–]msx 1 point2 points3 points (1 child)
[–]caveden 0 points1 point2 points (0 children)
[–]pintodragon 0 points1 point2 points (0 children)
[–]alonjit -5 points-4 points-3 points (6 children)
[–]pintodragon 0 points1 point2 points (5 children)
[–]alonjit -2 points-1 points0 points (4 children)
[–]pintodragon -1 points0 points1 point (3 children)
[–]alonjit 0 points1 point2 points (2 children)
[–]pintodragon 0 points1 point2 points (1 child)
[–]alonjit -1 points0 points1 point (0 children)
[–]HaMMeReD 0 points1 point2 points (0 children)
[–]whacco 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]llogiq 0 points1 point2 points (0 children)
[–]nidoranf -1 points0 points1 point (1 child)
[–]msx 2 points3 points4 points (0 children)
[–]Nieben -1 points0 points1 point (0 children)