From eb2b0a0e698208725e7a1e49eebdf54bb6261e63 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 25 Jan 2020 01:42:31 -0600 Subject: [PATCH] question 26/29 add .java file link --- uil/uil-practice-armstrong/test-1/EXPLANATIOn.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/uil/uil-practice-armstrong/test-1/EXPLANATIOn.md b/uil/uil-practice-armstrong/test-1/EXPLANATIOn.md index 8dc02ef..01dd09c 100644 --- a/uil/uil-practice-armstrong/test-1/EXPLANATIOn.md +++ b/uil/uil-practice-armstrong/test-1/EXPLANATIOn.md @@ -441,6 +441,10 @@ Matches! This is a rather long problem, so let's split it up into parts. +Also, see the relevant .java file created custom for this question. + +[question26.java](./question26.java) + ### Class X Class X is a implementation of the Comparable Interface, and is essentially a method for comparing Strings when sorted. Focus on the `compareTo` method. @@ -515,6 +519,10 @@ q.peek(); Be sure to read up on how Queues work, specifically the ordering, this can be very confusing and it will help to learn this, along with Comparators & Collections in general. +Take a look at the relevant java file to test it yourself! + +[question29.java](./question29.java) + ## Question 30 This is pretty simple referencing stuff, but it gets very complicated on tests, so I recommend looking up stuff on "Pass by Value" and "Pass by reference" in Java, it's a whole topic of debate in conjunction with immutability, mutability, wrappers, primitives, objects, and more.