I need help on 6/13 oop

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

public static void main(String args) {
class Dog {

int age;

public Dog(int dogsAge) {
age = dogsAge;
}}

<do not remove the three backticks above>
1 Like

@gigajumper30403
Maybe read
== the Book ==
https://docs.oracle.com/javase/tutorial/java/concepts/class.html
https://docs.oracle.com/javase/tutorial/java/javaOO/classdecl.html
https://docs.oracle.com/javase/tutorial/java/javaOO/classes.html
OR
Dog.java

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.