From 1851f5e76018ec1df3b55dce6cc9a64c9497bf7a Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 26 Apr 2024 15:50:38 -0600 Subject: Rearrange directory structure --- boil/tests/ex50.java | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 boil/tests/ex50.java (limited to 'boil/tests/ex50.java') diff --git a/boil/tests/ex50.java b/boil/tests/ex50.java deleted file mode 100644 index 576af0e..0000000 --- a/boil/tests/ex50.java +++ /dev/null @@ -1,35 +0,0 @@ -class ex50 { - public static void main(String[] z) { - int result ; - A a ; - a = new A() ; - System.out.println(a.set_get()) ; - } -} - -class A { - - B b ; - - public int set_get() { - int r ; - b = new B() ; - r = b.set() ; - r = b.get() ; - return r ; - } -} - -class B { - - int x ; - - public int get() { - return x ; - } - - public int set() { - x = 12 ; - return 1 ; - } -} -- cgit v1.2.3