Created
January 19, 2019 16:20
-
-
Save Urdzik/2d10faaeca21b1f697f5ab8e9c1596bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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