public class motherboard{ private CPU cpu; } public class CPU{ private int amtOfCores; private String brand; }