Can a package have any name you might want, or are there restrictions on
what you can use for a package name? Explain any restrictions.
On your system, place the class Pet (Listing 6.1) into a package so that you
can use the class in any Java program by including a suitable import statement
without moving Pet to the same directory (folder) as your program.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here