I used function system.out.println and checking code and programm marked is correct. This function system.out.print is forbidden. What will be function instead of system.out.print?
It's correct but I used function that is forbidden
You must be signed in to leave a comment
7 June 2019, 14:36
That is not forbidden. One of the requirements of that task is that you do not call a print or println method (they are referred to as methods in Java) is not called from the main method. It is a small puzzle to test your problem solving skills.