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

Matrix.java 761B

123456789101112131415161718192021222324
  1. class Matrix {
  2. Matrix(String matrixAsString) {
  3. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  4. }
  5. int[] getRow(int rowNumber) {
  6. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  7. }
  8. int[] getColumn(int columnNumber) {
  9. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  10. }
  11. int getRowsCount() {
  12. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  13. }
  14. int getColumnsCount() {
  15. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  16. }
  17. }