public int getInput() throws IOException

........more codes here in between

return activity;//activity is an array

The error is this: '.class' expected

Recommended Answers

All 2 Replies

Thank you very much but I already saw that. What I'm trying to do is return a string array if possible. I googled it and showed the instructions on how to return a string array. I did what was shown but it still did not work. Thank you though.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.