I am trying to understand the difference between:
public class GuessGame {
Player p1;
Player p2;
Player p3;
and
public void startGame() {
p1 = new Player();
p2 = new Player();
p3 = new Player();
Basically, what do these both do in the program? I understand that the startGame method is for creating objects, but what is the first part of the program for?