summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/Listing0503.java
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/Listing0503.java')
-rw-r--r--Master/Reference Architectures and Patterns/hjp5/examples/Listing0503.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/Listing0503.java b/Master/Reference Architectures and Patterns/hjp5/examples/Listing0503.java
new file mode 100644
index 0000000..5a5db89
--- /dev/null
+++ b/Master/Reference Architectures and Patterns/hjp5/examples/Listing0503.java
@@ -0,0 +1,13 @@
+/* Listing0503.java */
+
+public class Listing0503
+{
+ public static void main(String[] args)
+ {
+ int a = 5;
+ double x = 3.14;
+
+ System.out.println("a = " + a);
+ System.out.println("x = " + x);
+ }
+} \ No newline at end of file