From 6c2119b4a3d5cca8839ac5efa85f447942e13ad9 Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Tue, 5 Aug 2025 12:55:32 +0200 Subject: [PATCH 1/2] first task --- 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..66ca7c1 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 = true; } From f096cba4c4a557e8c28ee26b4936d5bae18cf5c6 Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Tue, 5 Aug 2025 12:57:47 +0200 Subject: [PATCH 2/2] first task --- src/main/java/com/booleanuk/core/Exercise.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/booleanuk/core/Exercise.java b/src/main/java/com/booleanuk/core/Exercise.java index 66ca7c1..be4205e 100644 --- a/src/main/java/com/booleanuk/core/Exercise.java +++ b/src/main/java/com/booleanuk/core/Exercise.java @@ -11,7 +11,6 @@ public class Exercise extends ExerciseBase { // Its name can be anything as long as that name isn't already in use. public int answerToTheUltimateQuestion = 42; - // 1. Create an integer member named age with a value of 32 public int age = 32;