From 4ea9b49b85c3dcc96e6036d717defd08ebe9fc6d Mon Sep 17 00:00:00 2001 From: Erik Bergvall Date: Tue, 7 Jan 2025 14:28:34 +0100 Subject: [PATCH] Completed the base exercise --- src/main/java/com/booleanuk/core/Exercise.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/booleanuk/core/Exercise.java b/src/main/java/com/booleanuk/core/Exercise.java index e928ba0..ab6b201 100644 --- a/src/main/java/com/booleanuk/core/Exercise.java +++ b/src/main/java/com/booleanuk/core/Exercise.java @@ -14,27 +14,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; }