lots of exercises in java... from https://github.com/exercism/java

Triangle.java 363B

123456789101112
  1. class Triangle {
  2. Triangle(double side1, double side2, double side3) throws TriangleException {
  3. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  4. }
  5. TriangleKind getKind() {
  6. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  7. }
  8. }