Timeline for Programming against interfaces in Java
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 13, 2014 at 8:47 | history | tweeted | twitter.com/#!/StackProgrammer/status/532817111651868672 | ||
| Nov 12, 2014 at 15:14 | comment | added | Andrew Hoffman | In a nuttshell, variable f should be declared as FooImpl if you need to call operation(). You can pass f to methods which operate on Foo, but methods that operate on Foo shouldn't cast a Foo to anything, so shouldn't call operation(). | |
| Nov 12, 2014 at 14:16 | answer | added | Phuong Nguyen | timeline score: 0 | |
| Nov 12, 2014 at 14:16 | comment | added | gnat | related (possibly a duplicate): Design for an interface implementation that provides additional functionality | |
| Nov 12, 2014 at 14:15 | review | First posts | |||
| Nov 12, 2014 at 14:39 | |||||
| Nov 12, 2014 at 14:11 | history | edited | gnat | edited tags | |
| Nov 12, 2014 at 14:07 | answer | added | Kilian Foth | timeline score: 9 | |
| Nov 12, 2014 at 14:03 | history | asked | dabd | CC BY-SA 3.0 |