You need to sign in to do that
Don't have an account?
Sarvesh Prajapati
lukesXWing.shield = new DeflectorShield()
what is the meaning of 'lukesXWing.shield = new DeflectorShield()'
pcon
That is creating a new class of type DeflectorShield and assigning it to the shield variable on the lukesXWing variable.