Help me?OOP JAVA


#1

class Dog {

public static void main(String[] args) {
        
}

}

`
Add a class constructor called Dog to the class.
I'm a newbie so i need help from you :slight_smile:


#2

Hi @editmylife,
I'm afraid we can't give you a direct answer, but I can give you the syntax for a class constructor!

public className(parameters) {
// some OOP instance variables
}

I hope you reread the tutorial, and have it all figured out! :slight_smile: