diff options
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/Person.java')
| -rw-r--r-- | Master/Reference Architectures and Patterns/hjp5/examples/Person.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/Person.java b/Master/Reference Architectures and Patterns/hjp5/examples/Person.java new file mode 100644 index 0000000..b279022 --- /dev/null +++ b/Master/Reference Architectures and Patterns/hjp5/examples/Person.java @@ -0,0 +1,14 @@ +import java.io.*;
+
+public class Person
+implements Serializable
+{
+ public String name;
+ public Person mother;
+ public Person father;
+
+ public Person(String name)
+ {
+ this.name = name;
+ }
+}
\ No newline at end of file |
