Deciding whether something should be static
Static should be applied to: A variable or method that is independent of the specific instance of the class When a method performs a task that is independent of the…
Static should be applied to: A variable or method that is independent of the specific instance of the class When a method performs a task that is independent of the…