replace return false statement from inside the for loop. It should be outside the while(true) loop.
Type: Posts; User: sanjaysir
replace return false statement from inside the for loop. It should be outside the while(true) loop.
Make sure that you have this line : public static void main(String args[]) after the class program1.
Also make sure that your file name should be program1.java
Hello, this is my first day to this forum. I'm here to help other to learn java