Skip to content

Commit

Permalink
Completed fundamentals class members core exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
Frida Anselin committed Jan 7, 2025
1 parent 3ba415a commit d7c33da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/com/booleanuk/core/Exercise.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit d7c33da

Please sign in to comment.