From 151ce323e4225ce1ef92e5c6c0c4b447f8467db6 Mon Sep 17 00:00:00 2001 From: Thomas Kristiansen Date: Tue, 7 Jan 2025 11:35:33 +0100 Subject: [PATCH 1/2] Finished exercise --- src/main/java/com/booleanuk/core/Exercise.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/booleanuk/core/Exercise.java b/src/main/java/com/booleanuk/core/Exercise.java index e928ba0..2b4a8a3 100644 --- a/src/main/java/com/booleanuk/core/Exercise.java +++ b/src/main/java/com/booleanuk/core/Exercise.java @@ -13,28 +13,28 @@ public class Exercise extends ExerciseBase { // 1. Create an integer member named age with a value of 32 - + public int age = 32; // 2. Create a String member named firstName with a value of "Jane" - + public String firstName = "Jane"; // 3. Create a boolean member named isProgrammer with a value of true - + public boolean isProgrammer = true; // 4. Change the value below so that the tests pass. Check the README.md file for instructions on // running and reading tests - public int firstNumber = 109; + public int firstNumber = 9182; // 5. Change the value below so that the tests pass - public String firstString = "Ruby is to Python what car is to carpet."; + public String firstString = "Java is to Javascript what car is to carpet."; // 6. Change the visibility below so that the tests pass - private boolean isVisible = true; + public boolean isVisible = false; } From 31e992ff35ec789182d36baef6769c8ce6f4983b Mon Sep 17 00:00:00 2001 From: Thomas Kristiansen Date: Tue, 7 Jan 2025 11:38:55 +0100 Subject: [PATCH 2/2] Thomas Kristiansen --- src/main/java/com/booleanuk/core/Exercise.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/booleanuk/core/Exercise.java b/src/main/java/com/booleanuk/core/Exercise.java index 2b4a8a3..7b4bf14 100644 --- a/src/main/java/com/booleanuk/core/Exercise.java +++ b/src/main/java/com/booleanuk/core/Exercise.java @@ -37,4 +37,5 @@ public class Exercise extends ExerciseBase { // 6. Change the visibility below so that the tests pass public boolean isVisible = false; + }