Solution to diamond problem You can achieve multiple inheritance in Java, using the default methods (Java8) and interfaces . From Java8 on wards default methods are introduced in an interface. Unlike other abstract methods these are the methods of an interface with a default implementation.8 Şub 2021