Question 1hardmultiple choice
Read the full Object-Oriented Programming explanation →What is the result of: new Document().print();
Exhibit
Refer to the exhibit.
interface Printable {
default void print() { System.out.println("Printable"); }
}
interface Showable {
default void print() { System.out.println("Showable"); }
}
class Document implements Printable, Showable {
// no override
}