Glossary: Software Design Patterns in Java
Duck typing
Using any object that has the right methods, whatever its class. Java checks this with interfaces instead.
Glossary: Software Design Patterns in Java
Using any object that has the right methods, whatever its class. Java checks this with interfaces instead.