Que esta mal en este programa?
- import java.util.Scanner; 
- import java.io.File; 
- public class BorraArchivo { 
-   
- 	public static void-  main (String[]-  args ) {
 
-   
- 		System- . out- . println("Type the file name you'd like to delete");
 
-   
- 		Scanner readInput  = new-  Scanner (System- . in);
- 		String-  nombreArchivo  =-  readInput. next();
 
- 		char respuesta; 
-   
- 		do { 
- 			System- . out- . println("R u sure that u want to delete " +-  nombreArchivo  + "?");
 
- 			respuesta = readInput.findWithinHorizon(".", 0).charAt(0); 
- 		} while (respuesta != 'y' || respuesta != 'n'); 
-   
- 		if (respuesta == 'y') { 
- 			System- . out- . println("Deleting..." +-  nombreArchivo );
 
- 			archivo.delete(); 
- 			System- . out- . println(- nombreArchivo  + " has been deleted.");
 
- 		} else { 
- 			System- . out- . println("Fine, just kidding!");
 
- 		} 
-   
-   
- 	} 
-   
- } 
-   
Cuando pongo y o n, sigue todavia en el do-while... 
