I'm a little confused on Listing.4 of page 3.
Is the java file named as com.onjava.login.java?
Because the class name of the program is called login, therefore, I get some error msg saying the file should be name login.java.
So i tried renaming the file to login.java, but that just generated for error msgs.
So can someone clarify to me whether the file name is com.onjava.login.java or login.java?
Also, what's with the pack com.onjava?
Should i create the additional folders named com & onjava?
Thanx in advance