diff options
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/Listing0402.java')
| -rw-r--r-- | Master/Reference Architectures and Patterns/hjp5/examples/Listing0402.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/Listing0402.java b/Master/Reference Architectures and Patterns/hjp5/examples/Listing0402.java new file mode 100644 index 0000000..d6be514 --- /dev/null +++ b/Master/Reference Architectures and Patterns/hjp5/examples/Listing0402.java @@ -0,0 +1,17 @@ +/* Listing0402.java */
+
+public class Listing0402
+{
+ public static void main(String[] args)
+ {
+ int a;
+ a = 1;
+ char b = 'x';
+ System.out.println(a);
+ double c = 3.1415;
+ System.out.println(b);
+ System.out.println(c);
+ boolean d = false;
+ System.out.println(d);
+ }
+}
\ No newline at end of file |
