diff --git a/src/Phone.java b/src/Phone.java index b19ab4b..b89628f 100644 --- a/src/Phone.java +++ b/src/Phone.java @@ -14,6 +14,7 @@ public Phone(String name, String brand, double price, int number, String categor this.storage = storage; this.OS = OS; this.screenSize = screenSize; + Object o = new Object(); } public int getCameraQuality() { @@ -64,6 +65,7 @@ public void setScreenSize(double screenSize) { this.screenSize = screenSize; } + @Override public String toString() { return super.toString() + " -> " + "Phone{" + diff --git a/src/Test.txt b/src/Test.txt new file mode 100644 index 0000000..35bd059 --- /dev/null +++ b/src/Test.txt @@ -0,0 +1 @@ +Hello, AP students! \ No newline at end of file