cannot resolve symbol help
ok im a java newbie and need a bit of help
what im trying to do is take input from the user and send that to a class named cube where it takes the inputed value, and calculates the area and perm
publicclass CubeUser{
publicstaticvoid main (String[] args)throws IOException{
BufferedReader input =new BufferedReader (new InputStreamReader ( System.in));
String inputString;
double cube1, cube2, cube3;
System.out.println("We are going to create 3 different cubes");
System.out.println("Please enter the first cubes side:");
inputString = input.readLine();
cube1 = Double.parseDouble(inputString);
Cube Hope1 =new Cube(cube1);
System.out.println("Please enter the second cubes side:");
inputString = input.readLine();
cube2 = Double.parseDouble(inputString);
Cube Hope2 =new Cube(cube2);
System.out.println("Please enter the third cubes side:");
inputString = input.readLine();
cube3 = Double.parseDouble(inputString);
Cube Hope3 =new Cube(cube3);
System.out.println("Cube1: " + Hope1.toString());
System.out.println("Cube2: " + Hope2.toString());
System.out.println("Cube3: " + Hope3.toString());
}
}
however when i complie it i get these errors:
CubeUser.java:24: cannot resolve symbol
symbol : class Cube
location: class CubeUser
Cube Hope1 = new Cube(cube1);
^
CubeUser.java:24: cannot resolve symbol
symbol : class Cube
location: class CubeUser
Cube Hope1 = new Cube(cube1);
^
CubeUser.java:28: cannot resolve symbol
symbol : class Cube
location: class CubeUser
Cube Hope2 = new Cube(cube2);
^
CubeUser.java:28: cannot resolve symbol
symbol : class Cube
location: class CubeUser
Cube Hope2 = new Cube(cube2);
^
CubeUser.java:32: cannot resolve symbol
symbol : class Cube
location: class CubeUser
Cube Hope3 = new Cube(cube3);
^
CubeUser.java:32: cannot resolve symbol
symbol : class Cube
location: class CubeUser
Cube Hope3 = new Cube(cube3);
why is it giving me these errors?

