Home Segments Top Top Previous Next

352: Mainline

Thus, the purpose of the interface is strictly to impose requirements via that interface's abstract methods. Note that there are no method implementations:

public interface RatingInterface { 
 public abstract int rating () ;        <--- Required 
}