Should the following code be group into a class?
- Yes, a class could group a person with the variable's 'name' and 'age'
- No, because there's no related data or functionality to store
Yes, a class could group a person with the variable's 'name' and 'age'.