Could you please tell what is the error?
output:
E:\JAVA_PROGRAMS\Files>javac B.java
B.java:11: error: cannot access File
File src = new File("E:/v.jpeg");
^
bad source file: .\File.java
file does not contain class File
Please remove or make sure it appears in the correct subdirectory of the sou
rcepath.
1 error
E:\JAVA_PROGRAMS\Files>
output:
E:\JAVA_PROGRAMS\Files>javac B.java
B.java:11: error: cannot access File
File src = new File("E:/v.jpeg");
^
bad source file: .\File.java
file does not contain class File
Please remove or make sure it appears in the correct subdirectory of the sou
rcepath.
1 error
E:\JAVA_PROGRAMS\Files>