Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 607 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 607 Bytes

The Programming Task for OOP

it has 6 Timers which all have slightly different ActionListeners to Start/Stop the Timer.

1 -> has an ActionListener that is used like an interface Overriding the actionPerformed function
2 -> has an ActionListener which is implemented via a lambda function
3 -> has an anonymous class as ActionListener
4 -> has a non-static inner class as ActionListener
5 -> has a class in a seperate file as ActionListener
6 -> has an ActionListener which uses a static class

they all kind of work the same, just change in that way. the code is slightly spaghetti'ish.