summaryrefslogtreecommitdiff
path: root/tutorial/examples/bca/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/examples/bca/Test.java')
-rw-r--r--tutorial/examples/bca/Test.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/tutorial/examples/bca/Test.java b/tutorial/examples/bca/Test.java
new file mode 100644
index 0000000..5de77d0
--- /dev/null
+++ b/tutorial/examples/bca/Test.java
@@ -0,0 +1,24 @@
+/*
+ * This code was generated by ojc.
+ */
+package examples.bca;
+
+
+import java.io.PrintStream;
+
+
+public class Test implements examples.bca.Writable, examples.bca.Printable
+{
+
+ public void write( PrintStream out )
+ {
+ out.println( "Hello" );
+ }
+
+
+ public void print()
+ {
+ this.write( java.lang.System.out );
+ }
+
+}