Object-oriented java


#1

hi there
i,ve just begun learning java by the help of codeacademy.
I,ve faced a prob which i can,t solve. pls help me :frowning_face:
in the “Object-Oriented Java”, while i run the program i face this error:

Error: Could not find or load main class Dog

this is my code:

class dog{

int age;

public dog(int dogsAge){
age=dogsAge;
}
public static void main(String args) {
}
}


#2

its looking for Dog class, which doesn’t exist. Class names are case senstive.


#3

Compare the two. See any difference?


#4

ohhh. tnx a lot:ok_hand: