What are Static types and how do you use them? Let’s explore these questions and more!
For starters, you need to use the keyword static to make a static type.
Classes, variables and methods, can all be made static. Unlike instances, Static types are stored in the computer memory for the life of your program, so use discretion as far as when you really need to use them.