aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--5728853850_a3bbb14083_z.jpgbin0 -> 65939 bytes
-rw-r--r--src/Potato.java8
2 files changed, 8 insertions, 0 deletions
diff --git a/5728853850_a3bbb14083_z.jpg b/5728853850_a3bbb14083_z.jpg
new file mode 100644
index 0000000..6791074
--- /dev/null
+++ b/5728853850_a3bbb14083_z.jpg
Binary files differ
diff --git a/src/Potato.java b/src/Potato.java
index 7f8eb64..2145d79 100644
--- a/src/Potato.java
+++ b/src/Potato.java
@@ -7,6 +7,7 @@ public class Potato {
public static void main(String[] args) {
Potato potato = new Potato();
+ Glados glados = new Glados();
if (potato.prepare()) System.out.println("Of course potato is prepared and delicious.");
else System.out.println("Fatal error! How could potato not be delicious?");
}
@@ -39,4 +40,11 @@ public class Potato {
return this.name;
}
}
+
+ private static class Glados extends Potato {
+ public Glados()
+ {
+ System.out.println("Oh hi, how are you holding up? BECAUSE I’M A POTATO… clap clap clap… oh good, my slow clap processor made it into this thing, at least we have that.");
+ }
+ }
}