From b4047d204aa8a09b147f0a63c4f022b2e3ad928c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20S=C3=B6nnergaard?= Date: Tue, 7 Jan 2025 14:37:57 +0100 Subject: [PATCH] Complete core exercises --- 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..b1a12b1 100644 --- a/src/main/java/com/booleanuk/core/Exercise.java +++ b/src/main/java/com/booleanuk/core/Exercise.java @@ -14,27 +14,27 @@ 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; }