Below you can see a class Star. There are varieties of stars based on their luminosity, temperature and other parameters. One of the types of stars is a yellow dwarf, which is what our Sun is.
Create a child class for Star and call it YellowDwarf. You don't need to create any methods for the class or any objects of the class, just the class itself.