simple question learning java from sum.com
Dear all,
I follow http://java.sun.com/docs/books/tutorial/java/javaOO/classes.html to learn java.
1. I create a project called Bicycle
2. I create a Bicycle.java under project Bicycle
3. I create a MountainBike.java also under project Bicycle
I try to make the project MountainBike.java work. However, netbean come out the following. I don't understand what that means. Please help
init:
deps-jar:
Created dir: C:\Users\Marco\Bicycle\build\classes
Compiling 1 source file to C:\Users\Marco\Bicycle\build\classes
C:\Users\Marco\Bicycle\src\bicycle\MountainBike.java:16: cannot access bicycle.Bicycle
bad class file: C:\Users\Marco\Bicycle\src\bicycle\Bicycle.java
file does not contain class bicycle.Bicycle
Please remove or make sure it appears in the correct subdirectory of the classpath.
public class MountainBike extends Bicycle{
BUILD FAILED (total time: 0 seconds)

