I am a newbie to Java. I was able to compile the following interface without any errors.
File Name : empty_interface.java
File content :
public interface empty_interface {}
Questions
a) Interface , i believe, is a contract which the implementor has to implement. What would a implementor will implement if it extends the above interface ?
b) Might be related to a)...but here I go...Why would compiler allow a undefined interface to compile successfully ?