In Java you can’t just create a type. You are creating a mini app.
Classes in Java hold logic and internal mutating state. I don’t want to create this just because I need a type.
Really you want to create a struct or an interface as a type.
Classes in Java hold logic and internal mutating state. I don’t want to create this just because I need a type.
Really you want to create a struct or an interface as a type.