System.out.print(s+ " " +s+ " " +s); and output is window window windowfile file file how to make: window window window file file file? the funniest thing is that it passed, why? could sb explain please.
it passed but in my opinion it is error
You must be signed in to leave a comment
20 October 2020, 06:44
There's no word written in the task conditions what to do between print calls. So yours is as good as other solutions that print a linebreak or space. I'd even say you have the better solution than the rest ;) To achieve that: window window window file file file you could door to get rid of of the trailing space for the last method call is another problem.
24 October 2020, 09:44
thank you. now I am in level 3, lesson 3 an I have a big problem with return and double commends. do you have some www source that explain it ?
24 October 2020, 12:53
As additional sources I use a german book (Java ist auch ein Insel) and theOracle Java docs + Java tutorials The tutorials you already can read, the api docs are for later... level 5-7. This may be confusing to read at first but is an excellent and maybe the most important source you can get. What problems do you have?
19 October 2020, 18:14
Who knows what validator has in mind? ;) I think output should be (passed too): window window window file file file