Skip to content

Commit

Permalink
Assignment LaunchCodeEducation#2 - Task 2 - All 9 tests passed - rear…
Browse files Browse the repository at this point in the history
…ranged getters and setters
  • Loading branch information
shellywilliamsreichert802 committed May 3, 2024
1 parent 7048f4e commit 2258e51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/org/launchcode/techjobs/oo/CoreCompetency.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ public int hashCode() {
return Objects.hash(id);
}

// TODO: Use the "Generate" tool to add a getter and setter for the 'value' field but
// ONLY a getter for the 'id' field.

public String getValue() {
return value;
}

public int getId() {
return id;
}

public void setValue(String value) {
this.value = value;
}
// TODO: Use the "Generate" tool to add a getter and setter for the 'value' field but
// ONLY a getter for the 'id' field.

public int getId() {
return id;
}
}

0 comments on commit 2258e51

Please sign in to comment.