Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method println(boolean) in the type PrintWriter is not applicable for the arguments (void)
Syntax error on token "int", delete this token
at Combinations.saveCombinations(Combinations.java:53)
at Combinations.main(Combinations.java:70)
If you had copy-pasted and run this code, you would see the same error message. You may copy-paste and run this code if you will.
Of course I have to fix the complier erros, and that's the reason why I am here asking the help of experts (It does not make any sense to post this message if I know how to solve the problem).
I have read many and many pages, but I still need help to make the number combinations created by the followindg code be stored in a specific column that exists in a MySQL's table (MySQL database named `database`, table called `numbers`, column `combinations`).
I know I have to create a connection to the database, but I don't know the correct place of the code to write, and I also don't know how to make the temporary arrays to be stored in the column `combinations`.
So, please, I am asking your help to change the output of this code, so that the column `combinations` be filled with the combinations generated.