Java error cannot read
The Java error cannot read occurred when a programmer do not follow the following condition-
Understand with Example
In this Tutorial we want to describe you a code that helps you in understanding a code ErrorcannotRead in java. For this we have a class ErrorcannotRead.In the main method we create an instance of class date. The System.out.print ln is used to print the year by calling a method .get Year ( ).On execution the code show you an error Java Error cannot made Symbol. This error occurred because the programmer write the wrong class name on the command prompt. Therefore the compiler does not reconogised the class name and show you an error ErrorcannotRead.java.
To resolve this error you have to give the proper file name of the java file.Here in the example our java file name is ErrorcannotRead.java and we are compiling file as ErrorcannotRead1.java