Skip to content

Commit 740a415

Browse files
committed
remove public access modifiers on ref solution for binary
1 parent d583c95 commit 740a415

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎exercises/binary/.meta/src/reference/java/Binary.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
public class Binary {
1+
class Binary {
22

33
private String binary;
44
private int decimal;
55

6-
public Binary(String binary) {
6+
Binary(String binary) {
77
this.binary = binary;
88
this.decimal = getDecimalFromBinary(binary);
99
}
1010

11-
public int getDecimal() {
11+
int getDecimal() {
1212
return decimal;
1313
}
1414

0 commit comments

Comments
 (0)