You are not logged in. Please login at www.codechef.com to post your questions!

×

Can't resolve the type of object in java

 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.

asked 20 Jul '17, 20:24

priyamshukla's gravatar image

0★priyamshukla
1
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,302
×45
×16
×10
×9
×9

question asked: 20 Jul '17, 20:24

question was seen: 272 times

last updated: 20 Jul '17, 20:24