-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
615 changed files
with
10,601 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/part05-Part05_02.Book/target/ | ||
/part05-Part05_03.Cube/target/ |
Empty file.
Empty file.
Empty file removed
0
part03-Part03_03.IndexOutOfBoundsException/target/classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part03-Part03_07.RememberTheseNumbers/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file removed
0
part03-Part03_08.OnlyTheseNumbers/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part03-Part03_19.IndexWasNotFound/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_01.YourFirstAccount/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file removed
0
part04-Part04_02.YourFirstBankTransfer/target/classes/.netbeans_automatic_build
Empty file.
Empty file removed
0
part04-Part04_02.YourFirstBankTransfer/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_08.DecreasingCounter/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_15.NumberStatistics/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_18.PersonalInformation/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file removed
0
part04-Part04_19.TelevisionPrograms/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_23.CreatingANewFile/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_25.PrintingASpecifiedFile/target/classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_26.GuestListFromAFile/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed
0
part04-Part04_28.NumbersFromAFile/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file removed
0
part04-Part04_29.RecordsFromAFile/target/test-classes/.netbeans_automatic_build
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
public class Book { | ||
private String author; | ||
private String title; | ||
private int pages; | ||
|
||
public Book(String bookAuthor, String bookTitle, int bookPages){ | ||
this.author = bookAuthor; | ||
this.title = bookTitle; | ||
this.pages = bookPages; | ||
} | ||
|
||
public String getAuthor(){ | ||
return this.author; | ||
} | ||
|
||
public String getName(){ | ||
return this.title; | ||
} | ||
|
||
public int getPages(){ | ||
return this.pages; | ||
} | ||
|
||
public String toString(){ | ||
return this.author + ", " + this.title + ", " + this.pages + " pages"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
public class Cube { | ||
private int edgeLength; | ||
|
||
public Cube(int edgeLength){ | ||
this.edgeLength = edgeLength; | ||
} | ||
|
||
public int volume(){ | ||
return (edgeLength * edgeLength * edgeLength); | ||
// this.cubeNumber = edgeLength * edgeLength * edgeLength; | ||
// return this.cubeNumber; | ||
} | ||
|
||
@Override | ||
public String toString(){ | ||
return "The length of the edge is " + this.edgeLength + " and the volume " + volume(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
public class Fitbyte { | ||
private int age; | ||
private int restingHeartRate; | ||
|
||
public Fitbyte(int age, int restingHeartRate){ | ||
this.age = age; | ||
this.restingHeartRate = restingHeartRate; | ||
} | ||
|
||
public double targetHeartRate(double percentageOfMaximum){ | ||
double maximumHeartRate = 206.3 - (0.711 * this.age); | ||
double result = ((maximumHeartRate - this.restingHeartRate) * (percentageOfMaximum) + this.restingHeartRate); | ||
return result; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...itByte/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Program.class | ||
Fitbyte.class |
2 changes: 2 additions & 0 deletions
2
....FitByte/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_04.FitByte\src\main\java\Program.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_04.FitByte\src\main\java\Fitbyte.java |
1 change: 1 addition & 0 deletions
1
...arget/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FitbyteTest.class |
1 change: 1 addition & 0 deletions
1
.../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_04.FitByte\src\test\java\FitbyteTest.java |
File renamed without changes.
File renamed without changes.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+863 Bytes
part05-Part05_05.ConstructorOverload/target/classes/MainProgram.class
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...erload/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Product.class | ||
MainProgram.class |
2 changes: 2 additions & 0 deletions
2
...Overload/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_05.ConstructorOverload\src\main\java\Product.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_05.ConstructorOverload\src\main\java\MainProgram.java |
1 change: 1 addition & 0 deletions
1
...arget/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ConstructorOverloadTest.class |
1 change: 1 addition & 0 deletions
1
.../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_05.ConstructorOverload\src\test\java\ConstructorOverloadTest.java |
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+3.3 KB
part05-Part05_05.ConstructorOverload/target/test-classes/ConstructorOverloadTest.class
Binary file not shown.
40 changes: 40 additions & 0 deletions
40
part05-Part05_06.OverloadedCounter/src/main/java/Counter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
public class Counter { | ||
|
||
private int counter; | ||
|
||
public Counter(int startValue) { | ||
this.counter = startValue; | ||
} | ||
|
||
public Counter() { | ||
this.counter = 0; | ||
} | ||
|
||
public int value() { | ||
return this.counter; | ||
} | ||
|
||
public void increase(int increaseBy) { | ||
if (increaseBy > 0) { | ||
this.counter = this.counter + increaseBy; | ||
} | ||
this.counter = this.counter; | ||
} | ||
|
||
public void decrease(int decreaseBy) { | ||
if (decreaseBy > 0) { | ||
this.counter = this.counter - decreaseBy; | ||
} | ||
this.counter = this.counter; | ||
} | ||
|
||
public void increase() { | ||
this.counter += 1; | ||
} | ||
|
||
public void decrease() { | ||
this.counter -= 1; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file added
BIN
+768 Bytes
part05-Part05_06.OverloadedCounter/target/classes/MainProgram.class
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...ounter/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MainProgram.class | ||
Counter.class |
2 changes: 2 additions & 0 deletions
2
...dCounter/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_06.OverloadedCounter\src\main\java\MainProgram.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_06.OverloadedCounter\src\main\java\Counter.java |
4 changes: 4 additions & 0 deletions
4
...arget/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ConstructorSignature.class | ||
MethodSignature.class | ||
Utils.class | ||
CounterTest.class |
4 changes: 4 additions & 0 deletions
4
.../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_06.OverloadedCounter\src\test\java\CounterTest.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_06.OverloadedCounter\src\test\java\Utils.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_06.OverloadedCounter\src\test\java\MethodSignature.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_06.OverloadedCounter\src\test\java\ConstructorSignature.java |
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+2.33 KB
part05-Part05_06.OverloadedCounter/target/test-classes/ConstructorSignature.class
Binary file not shown.
Binary file added
BIN
+6.56 KB
part05-Part05_06.OverloadedCounter/target/test-classes/CounterTest.class
Binary file not shown.
Binary file added
BIN
+2.75 KB
part05-Part05_06.OverloadedCounter/target/test-classes/MethodSignature.class
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.49 KB
part05-Part05_07.NullPointerException/target/classes/NullPointerExceptionProgram.class
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...eption/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NullPointerExceptionProgram.class |
1 change: 1 addition & 0 deletions
1
...xception/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_07.NullPointerException\src\main\java\NullPointerExceptionProgram.java |
1 change: 1 addition & 0 deletions
1
...arget/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NPEErrorTest.class |
1 change: 1 addition & 0 deletions
1
.../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_07.NullPointerException\src\test\java\NPEErrorTest.java |
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+891 Bytes
part05-Part05_07.NullPointerException/target/test-classes/NPEErrorTest.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...etShop/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Pet.class | ||
MainProgram.class | ||
Person.class |
3 changes: 3 additions & 0 deletions
3
...tPetShop/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_08.BiggestPetShop\src\main\java\MainProgram.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_08.BiggestPetShop\src\main\java\Person.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_08.BiggestPetShop\src\main\java\Pet.java |
1 change: 1 addition & 0 deletions
1
...arget/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TheBiggestPetShopTest.class |
1 change: 1 addition & 0 deletions
1
.../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_08.BiggestPetShop\src\test\java\TheBiggestPetShopTest.java |
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+2.15 KB
part05-Part05_08.BiggestPetShop/target/test-classes/TheBiggestPetShopTest.class
Binary file not shown.
14 changes: 12 additions & 2 deletions
14
part05-Part05_09.HealthStation/src/main/java/HealthStation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
|
||
public class HealthStation { | ||
|
||
|
||
private int weighings; | ||
|
||
public int weigh(Person person) { | ||
// return the weight of the person passed as the parameter | ||
return -1; | ||
weighings++; | ||
return person.getWeight(); | ||
} | ||
|
||
public void feed(Person person) { | ||
person.setWeight(person.getWeight() + 1); | ||
} | ||
|
||
public int weighings(){ | ||
return weighings; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...tation/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Main.class | ||
HealthStation.class | ||
Person.class |
3 changes: 3 additions & 0 deletions
3
...hStation/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_09.HealthStation\src\main\java\Main.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_09.HealthStation\src\main\java\Person.java | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_09.HealthStation\src\main\java\HealthStation.java |
1 change: 1 addition & 0 deletions
1
...arget/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
HealthStationTest.class |
1 change: 1 addition & 0 deletions
1
.../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\mikec\OneDrive\Documents\NetBeansProjects\mooc-java-programming-i\part05-Part05_09.HealthStation\src\test\java\HealthStationTest.java |
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+9.35 KB
part05-Part05_09.HealthStation/target/test-classes/HealthStationTest.class
Binary file not shown.
Oops, something went wrong.