Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help

Status
Not open for further replies.

UrbanOne

Programmer
May 22, 2003
1
US
This is actually my assignment. It's about using RMI to connect clients to a server to check a database(a text file) of cricket statistics. The client can invoke 2 method : int getRuns(String), which return an integer value and PlayerStats getPlayer(String), which returns an entire object representing a player with all data fields filled in it. I have done the implementations but i get this error while compiling

CricketDatabaseImplementation.java:84: cannot resolve symbol
symbol : variable fHighScoreNotOut
location: class CricketDatabaseImplementation
fHighScoreNotOut = ((new Boolean(str.sva
l)).booleanValue());
^
CricketDatabaseImplementation.java:85: cannot resolve symbol
symbol : variable fHighScoreNotOut
location: class CricketDatabaseImplementation
player.setHighScoreNotOut(fHighScoreNotO
ut);
^
2 errors

I need someone to help me to check my coding and tell me how to fix it up the problem. As I cant show all my codings here, please email me if you are willing to help.

Thanks
 
Did you declare the 'fHighScoreNotOut' variable as a boolean?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top