after i modified bit from the answer given by harilal ithikkat .
it can compile and run properly.
However,compiler promt warning message "Accessing static method numbers" on myAnswer.numbers();[line22]
What the warning message state about?
Static methods should be preceded by the name of the class, not the name of the object. If they are in the same class, you simply write the name of the method.