Classes, structs, and interfaces
Classes and structs group data with the code that works on it. Interfaces define behavior that different types can provide.
Classes and structs group data with the code that works on it. Interfaces define behavior that different types can provide.