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?
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.
0
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.