summaryrefslogtreecommitdiff
path: root/output/ex19.java
diff options
context:
space:
mode:
Diffstat (limited to 'output/ex19.java')
-rw-r--r--output/ex19.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/output/ex19.java b/output/ex19.java
new file mode 100644
index 0000000..7afc43c
--- /dev/null
+++ b/output/ex19.java
@@ -0,0 +1,22 @@
+class ex19 {
+ public static void main(String[] a){
+ System.out.println(new Test().start());
+ }
+}
+
+class Test {
+
+ Test test;
+ int[] i;
+
+ public int start() {
+ i = new int[10];
+ test = (this).next();
+ return 0;
+ }
+
+ public Test next() {
+ System.out.println(1);
+ return test;
+ }
+}