Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created March 13, 2025 19:32
Show Gist options
  • Save trikitrok/2619d603db372f71df2e905f5f96d184 to your computer and use it in GitHub Desktop.
Save trikitrok/2619d603db372f71df2e905f5f96d184 to your computer and use it in GitHub Desktop.
public class Coordinates {
public int x;
public int y;
public Coordinates(int x, int y) {
this.x = x;
this.y = y;
}
}
//----------------------------------------------------------------------------------
//----------------------------------------------------------------------------------
//----------------------------------------------------------------------------------
public class Child {
private int age;
public Child(int age) {
this.age = age;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment