You are viewing a single comment's thread. Return to all comments →
More Test cases are needed. Now this absolutely stupid and useless code can pass the test
class Printer { boolean wasRun; public void printArray(Object o) { if(wasRun) { return; } System.out.print("1\n2\n3\nHello\nWorld\n"); wasRun = true; } }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Generics
You are viewing a single comment's thread. Return to all comments →
More Test cases are needed. Now this absolutely stupid and useless code can pass the test