Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have java code where I have 2 different java files that contain classes I want to use in the main. When I try to

I have java code where I have 2 different java files that contain classes I want to use in the main. When I try to compile the main in the command prompt, I keep getting this error, and I do not know how to fix it. I do not know what I am doing wrong

Assign1.java:77: error: cannot find symbol RemovedDomino = OriginalSet.removeDomino(0); ^ symbol: method removeDomino(int) location: variable OriginalSet of type DominoGroup Assign1.java:78: error: cannot find symbol PlayerSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable PlayerSet of type DominoGroup Assign1.java:79: error: cannot find symbol RemovedDomino = OriginalSet.removeDomino(0); ^ symbol: method removeDomino(int) location: variable OriginalSet of type DominoGroup Assign1.java:80: error: cannot find symbol ComputerSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable ComputerSet of type DominoGroup Assign1.java:147: error: cannot find symbol PlayerSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable PlayerSet of type DominoGroup Assign1.java:150: error: cannot find symbol RemovedDomino = PlayerSet.removeDomino(PlayerDomino-1); ^ symbol: method removeDomino(int) location: variable PlayerSet of type DominoGroup Assign1.java:184: error: cannot find symbol GameSet.addDominoFront(RemovedDomino); ^ symbol: method addDominoFront(String) location: variable GameSet of type DominoGroup Assign1.java:202: error: cannot find symbol GameSet.addDominoFront(Swap); ^ symbol: method addDominoFront(String) location: variable GameSet of type DominoGroup Assign1.java:208: error: cannot find symbol PlayerSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable PlayerSet of type DominoGroup Assign1.java:227: error: cannot find symbol GameSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable GameSet of type DominoGroup Assign1.java:246: error: cannot find symbol GameSet.addDominoBack(Swap); ^ symbol: method addDominoBack(String) location: variable GameSet of type DominoGroup Assign1.java:252: error: cannot find symbol PlayerSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable PlayerSet of type DominoGroup Assign1.java:280: error: cannot find symbol GameSet.addDominoFront(RemovedDomino); ^ symbol: method addDominoFront(String) location: variable GameSet of type DominoGroup Assign1.java:283: error: cannot find symbol ComputerSet.removeDomino(j); ^ symbol: method removeDomino(int) location: variable ComputerSet of type DominoGroup Assign1.java:302: error: cannot find symbol GameSet.addDominoFront(Swap); ^ symbol: method addDominoFront(String) location: variable GameSet of type DominoGroup Assign1.java:305: error: cannot find symbol ComputerSet.removeDomino(j); ^ symbol: method removeDomino(int) location: variable ComputerSet of type DominoGroup Assign1.java:329: error: cannot find symbol GameSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable GameSet of type DominoGroup Assign1.java:332: error: cannot find symbol ComputerSet.removeDomino(j); ^ symbol: method removeDomino(int) location: variable ComputerSet of type DominoGroup Assign1.java:352: error: cannot find symbol GameSet.addDominoBack(Swap); ^ symbol: method addDominoBack(String) location: variable GameSet of type DominoGroup Assign1.java:355: error: cannot find symbol ComputerSet.removeDomino(j); ^ symbol: method removeDomino(int) location: variable ComputerSet of type DominoGroup Assign1.java:367: error: cannot find symbol RemovedDomino = OriginalSet.removeDomino(0); ^ symbol: method removeDomino(int) location: variable OriginalSet of type DominoGroup Assign1.java:368: error: cannot find symbol ComputerSet.addDominoBack(RemovedDomino); ^ symbol: method addDominoBack(String) location: variable ComputerSet of type DominoGroup 22 errors

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

=+ What skills and competencies will enable someone

Answered: 1 week ago

Question

=+to live and work wherever he or she wants?

Answered: 1 week ago

Question

=+How will this affect the recruiting process?

Answered: 1 week ago