Showing Previous Code output

Eclipse is showing same output according to previous code.for example if i have previously made program of prime and later reversing a number

if i am giving input to reverse a number then it is showing whether number is priome or not…
how to solve it??

Hi @singhalharsh10081999,you might not have made static main function in the code of reverse number that why it is showing this error.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.