|
|
|
|
1
|
# Java Fundamentals
|
1
|
# Java Fundamentals
|
2
|
|
2
|
|
3
|
-* **Objective:**
|
|
|
4
|
- * To complete the method stubs in each of the provided classes
|
|
|
5
|
- * `MathUtilities`
|
|
|
6
|
- * `PredicateUtilities`
|
|
|
7
|
- * `StringUtilities`
|
|
|
8
|
-
|
|
|
9
|
-* **Purpose:**
|
|
|
10
|
- * To establish familiarity with
|
|
|
11
|
- * [primitive data-types](http://cs.fit.edu/~ryan/java/language/java-data.html)
|
|
|
12
|
- * [method signatures and return statements](http://www.homeandlearn.co.uk/java/java_methods.html)
|
|
|
13
|
- * [String operations](https://www.tutorialspoint.com/java/java_strings.htm)
|
|
|
14
|
-
|
|
|
15
|
-* **Classes to be completed:**
|
|
|
|
|
3
|
+### **Objective:**
|
|
|
4
|
+* To complete the method stubs in each of the provided classes
|
16
|
* `MathUtilities`
|
5
|
* `MathUtilities`
|
17
|
* `PredicateUtilities`
|
6
|
* `PredicateUtilities`
|
18
|
* `StringUtilities`
|
7
|
* `StringUtilities`
|
|
|
8
|
+
|
|
|
9
|
+### **Purpose:**
|
|
|
10
|
+* To establish familiarity with
|
|
|
11
|
+ * [primitive data-types](http://cs.fit.edu/~ryan/java/language/java-data.html)
|
|
|
12
|
+ * [method signatures and return statements](http://www.homeandlearn.co.uk/java/java_methods.html)
|
|
|
13
|
+ * [String operations](https://www.tutorialspoint.com/java/java_strings.htm)
|
|
|
14
|
+
|
|
|
15
|
+### **Classes to be completed:**
|
|
|
16
|
+* `MathUtilities`
|
|
|
17
|
+* `PredicateUtilities`
|
|
|
18
|
+* `StringUtilities`
|
19
|
|
19
|
|
20
|
-* **Instructions**
|
|
|
|
|
20
|
+### **Instructions:**
|
21
|
|
21
|
|
22
|
- 1. Fork this Repository
|
|
|
23
|
- * [fork](https://help.github.com/articles/fork-a-repo/) this repository to your personal github account
|
|
|
24
|
- * [clone](https://help.github.com/articles/cloning-a-repository/) **your** `forked` repository to your local machine.
|
|
|
25
|
- * Complete steps 2 and 3
|
|
|
26
|
- * `git add` your changes to the list of your `commited` files.
|
|
|
27
|
- * `git commit` your added files to the list of your `staged` files.
|
|
|
28
|
- * `git push` your staged files to your remote repository.
|
|
|
29
|
- * submit a `pull request` which compares Zipcoder `master` to your `master`.
|
|
|
30
|
- 2. Begin by first ensuring the `main` method in your `ZipcodeRocks` class prints `"Zipcode Rocks!"` upon execution.
|
|
|
31
|
- 3. Complete each of the method stubs in each of the `main` classes provided.
|
|
|
32
|
- * `main` classes are located in `src.main.java.com.zipcodewilmington.danny_do_better_exercises`
|
|
|
33
|
- * There are comments above each method stub to describe the expected behavior.
|
|
|
34
|
- 4. Upon completion, open and run the `TestSuite` class to ensure that all tests have 100% success.
|
|
|
35
|
- * `TestSuite` is located in `src.test.java.com.zipcodewilmington.danny_do_better_exercises`
|
|
|
|
|
22
|
+1. Fork this Repository
|
|
|
23
|
+ * [fork](https://help.github.com/articles/fork-a-repo/) this repository to your personal github account
|
|
|
24
|
+ * [clone](https://help.github.com/articles/cloning-a-repository/) **your** `forked` repository to your local machine.
|
|
|
25
|
+ * Complete steps 2 and 3
|
|
|
26
|
+ * `git add` your changes to the list of your `commited` files.
|
|
|
27
|
+ * `git commit` your added files to the list of your `staged` files.
|
|
|
28
|
+ * `git push` your staged files to your remote repository.
|
|
|
29
|
+ * submit a `pull request` which compares Zipcoder `master` to your `master`.
|
|
|
30
|
+2. Begin by first ensuring the `main` method in your `ZipcodeRocks` class prints `"Zipcode Rocks!"` upon execution.
|
|
|
31
|
+3. Complete each of the method stubs in each of the `main` classes provided.
|
|
|
32
|
+ * `main` classes are located in `src.main.java.com.zipcodewilmington.danny_do_better_exercises`
|
|
|
33
|
+ * There are comments above each method stub to describe the expected behavior.
|
|
|
34
|
+4. Upon completion, open and run the `TestSuite` class to ensure that all tests have 100% success.
|
|
|
35
|
+ * `TestSuite` is located in `src.test.java.com.zipcodewilmington.danny_do_better_exercises`
|
36
|
|
36
|
|
37
|
## Predicate Utilities
|
37
|
## Predicate Utilities
|
38
|
* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|
38
|
* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|