Dmitriy Birukov wrote:C:\Java>javac TapeDeckTestDrive.java
TapeDeckTestDrive.java:8: error: cannot find symbol
symbol: method playtype()
location: variable t of type TapeDeck
That means exactly what it says. The compiler can't find variable t because you didn't declare one.
You might have declared variable named t somewhere but in such case it is out of scope. Sorry, this error means that class TapeDeck doesn't have method playtype visible from TapeDeckTestDrive class.
Is it in another package?
And... you didn't post source code of TapeDeckTestDrive class.
Right now I have to guess.
Dmitriy Birukov wrote:Hey guys, how you take out my code in a separate window? Very comfortable.
Mark the code you pasted and press "Code" button while editing your post.
UseCodeTags <- click this