diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-26 15:50:38 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-26 15:50:38 -0600 |
commit | 1851f5e76018ec1df3b55dce6cc9a64c9497bf7a (patch) | |
tree | 30f629f7b137a494d4202487f4e22df2d9456481 /boil/tests/ex47.java | |
parent | 012298517078170762112abe2654dc69b2f146e1 (diff) |
Rearrange directory structure
Diffstat (limited to 'boil/tests/ex47.java')
-rw-r--r-- | boil/tests/ex47.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/boil/tests/ex47.java b/boil/tests/ex47.java deleted file mode 100644 index ea4e342..0000000 --- a/boil/tests/ex47.java +++ /dev/null @@ -1,24 +0,0 @@ -class ex47 { - public static void main(String[] z) { - int result ; - A a ; - a = new A() ; - System.out.println(a.set(42)) ; - System.out.println(a.get()) ; - } -} - -class A { - - int[] x ; - - public int set(int b) { - x = new int[12] ; - x[5] = b ; - return x.length ; - } - - public int get() { - return x[5] ; - } -} |