I am attempting to get one class to return a string from another class, though the return I get is null. I have a set method that works in setting the string in the original cla
You never call flavour.setFlavour(), so it's no surprise flavour.getFlavour() returns null.
flavour.setFlavour()
flavour.getFlavour()