Пример: public class GuessGame{ Player p1; public void startGame(){ p1 = new Player(); } } Для чего так делать я не понимаю.Почему не сделать вот так: public class GuessGame{ Player p1 = new Player(); public void startGame(){ } }