Choose the correct statement about the following code:
1: public interface Printable { 2: void fly(); 3: } 4: interface Area { 5: public abstract Object getArea(); 6: } 7: abstract class Falcon implements Printable, Area { 8: }
A.
Although the definition of methods on lines 2 and 5 vary, both will be converted to public abstract by the compiler.
Line 4 is fine, because an interface can have public or default access.
Finally, the class Falcon doesn't need to implement the interface methods because it is marked as abstract.
Therefore, the code will compile without issue.