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
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