Can't resolve the type of object in java

datatypes
eclipse
java
object
resolve
type

#1

public class GuessGame {
Player p1;
Player p2;
Player p3;

The following code, when put into eclipse says that ’

person can’t be resolved to a type

’ although it is given in the book head first java as a code example.