当你在编程中遇到“cannot resolve symbol 'printwriter'”这样的错误时,通常意味着编译器无法识别PrintWriter这个符号。这可能是由于几个常见的问题引起的。以下是一些可能的解决步骤和解释: 检查拼写错误: 确保你使用的是正确的类名PrintWriter,而不是printwriter。Java是大小写敏感的,所以PrintWriter和printwriter会被视...
prueba2.java [22:1] cannot resolve symbol symbol : class PrintWriter location: class prueba2 salida = new PrintWriter(new FileWriter("tocoto.txt"), true); ^ prueba2.java [22:1] cannot resolve symbol symbol : class FileWriter location: class prueba2 salida = new PrintWriter(new FileWriter...
D:\Stephenie\School Work\Yr1 Semester 2\Java Project\AppointmentPage.java:109: cannot resolve symbol symbol : method split (java.lang.String) location: class java.lang.String bits = line.split(";"); ^ My code ? 1 2 3 4 5 6 7 8 9 10 String line; String[] bits; String split...