Skip to content

Task 07

Checkpoint

This is the state of the project so far

Task 07: A new Normal

In addition to class methods there are static methods that are part of a class but do not even requite the class itself to be a parameter. They could be stand-alone functions and are usually part of classes to keep the code organized. To mark a static method, we can use the annotation @staticmethod One example of those are the normalizeā€¦-methods in the Location-class.

Turn the normalizeā€¦-methods in the Location-class into static methods. Note that static methods can be called upon instances or classes. Should the call of these methods in the constructor change?