Anayonkar Shivalkar wrote:Hi Rui,
Welcome to CodeRanch!
Please, UseCodeTags. It makes reading the code much easier.
Coming to your question - the error is self explanatory.
However, I'm wondering - how are you running your code? Because, I can see that there is main method in DrumKitTestDrive class.
Are you running your code as
Maybe you are running as second command mentioned above - which is giving error regarding main method.
I hope this helps.