What is the meaning of this line? Player p1
Simple field declaration. Type is a Player-Object. Don‘t post pictures in the future, it‘s against the rules.
You allocated 3 parts of memory space to these three references then you declared 3 new object point to these You can define infinity data reference with differences earmarks (p1,p2,...pn)because this(Player) is a space that a specific object points to that (here specific Object is a constructor from reference itsef (new Player()))
Обсуждают сегодня