Thursday, June 23, 2016

Tricky Codes :) Java

String newLine = System.getProperty("line.separator");
above code will add new line("\n")

while(true){System.out.println("hi Nani");}// Infinity Loop
// for(;;) // infinity for loop

No comments:

Post a Comment