Skip to content

Instantly share code, notes, and snippets.

@Urdzik
Created January 19, 2019 16:20
Show Gist options
  • Save Urdzik/2d10faaeca21b1f697f5ab8e9c1596bf to your computer and use it in GitHub Desktop.
Save Urdzik/2d10faaeca21b1f697f5ab8e9c1596bf to your computer and use it in GitHub Desktop.
public class Triangl {
private int one;
private int two;
private int three;
public Triangl(int one, int two, int three) {
this.one = one;
this.two = two;
this.three = three;
}
@Override
public String toString() {
return "Triangl{" +
"one=" + one +
", two=" + two +
", three=" + three +
'}';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment