Skip to content
Snippets Groups Projects
Commit 74c5d005 authored by Matilainen Jaakko's avatar Matilainen Jaakko
Browse files

Tehtavat.java muokattu

parent d5bfb18b
No related branches found
No related tags found
No related merge requests found
package fxHarakka.luokat; package fxHarakka.luokat;
import java.time.LocalDate;
/** /**
* ---------------------Tehtava == yhden tehtän luokka----------------------- * ---------------------Tehtava == yhden tehtän luokka-----------------------
* | Vastuualueet: | | * | Vastuualueet: | |
...@@ -94,7 +94,6 @@ public class Tehtava { ...@@ -94,7 +94,6 @@ public class Tehtava {
*/ */
public void setId(){ public void setId(){
} }
/** /**
......
...@@ -107,7 +107,8 @@ public class Tehtavat { ...@@ -107,7 +107,8 @@ public class Tehtavat {
for (int i = 0; i < tehtavat.getMaara(); i++) { for (int i = 0; i < tehtavat.getMaara(); i++) {
Tehtava tehtava = tehtavat.anna(i); Tehtava tehtava = tehtavat.anna(i);
System.out.println("Jäsen nro: " + i); System.out.println("Tehtävä numero: " + i);
} }
} catch (Exception e) { } catch (Exception e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment