Programming to an interface and using polymorphic types is implemented in com.chp1.program.to.supertype package.
In the version 3 of simuduck we encapsulate fly behaviours and quack behaviours. Our duck class is programming these two interfaces. So a subclass of a duck class can change its behaviours at run time.
Simuduck v3 tester is implemented.