• Post Reply Bookmark Topic Watch Topic
  • New Topic

constructor problem  RSS feed

 
brandon sexton
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this error
ScoreBoardTester.java:8: cannot find symbol
symbol : constructor ScoreBoard(java.lang.String,java.lang.String)
location : class ScoreBoard
ScoreBoard game1 = new ScoreBoard("Cedar View", "Tri-Cities");





I have tried everything I can think of and no solution.
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried everything I can think of and no solution.



Your ScoreBoard class doesn't have a constructor that takes two string parameters. You need to create that constructor.

Henry
 
brandon sexton
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:


Your ScoreBoard class doesn't have a constructor that takes two string parameters. You need to create that constructor.

Henry


Thank you!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!