Object-oriented java


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){
public static void main(String args) {


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


Compare the two. See any difference?


ohhh. tnx a lot:ok_hand: