void main (String[] args) { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s; while (!(s=notNull(r.readLine())).startsWith("42")) System.out.println(s); }
Nice one I will try it in my system I am eager to saw out put of this coding I saw this first time this type of syntax I never used it " while (!(s=notNull(r.readLine())).startsWith("42")) System.out.println(s); " .