diff options
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/Listing0912.java')
| -rw-r--r-- | Master/Reference Architectures and Patterns/hjp5/examples/Listing0912.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/Listing0912.java b/Master/Reference Architectures and Patterns/hjp5/examples/Listing0912.java new file mode 100644 index 0000000..4e64409 --- /dev/null +++ b/Master/Reference Architectures and Patterns/hjp5/examples/Listing0912.java @@ -0,0 +1,12 @@ +/* Listing0912.java */
+
+import static java.lang.Math.*;
+
+public class Listing0912
+{
+ public static void main(String[] args)
+ {
+ System.out.println(sqrt(2));
+ System.out.println(sin(PI));
+ }
+}
\ No newline at end of file |
