The 'p' is a local variable. If method Margherita contains only these 2 instructions .... it has not much sense.

And finally one question: why a class like Pizza (which seems to have a generic...