Hussein Reda

  • Developers shouldn’t be forced to depend upon interfaces that they don’t use.
  • Example:
public interface someInterface{public int methodOne(){
// Do something
}public int methodTwo(){
// Do somthing diffrent
}}

if you want to implement this Interface

public someClass implements someInterface{public int methodOne(){
// logic to do…

--

--