Posts tagged with Puzzler


This program has two threads printing messages alternatively. However if you change a String from "cC" to "cc" it doesn’t print anything, WHY? public class PingPongMain { public static void main(String[] args) throws…