diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-10 23:40:25 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-10 23:40:25 -0600 |
commit | 1080b37bbe40fe56b919d22804c159cccdca3c95 (patch) | |
tree | 8ddbb9528f575e537f925b266c8f366be6acc8b7 /boil/tests/ex32.java | |
parent | 61a28b7f8e709d1884ccab15f0dc38ed19dfde70 (diff) |
Library rename, created A4 directories
Diffstat (limited to 'boil/tests/ex32.java')
-rw-r--r-- | boil/tests/ex32.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boil/tests/ex32.java b/boil/tests/ex32.java new file mode 100644 index 0000000..5e421c4 --- /dev/null +++ b/boil/tests/ex32.java @@ -0,0 +1,16 @@ +class ex31 { + public static void main(String[] a) { + A a ; + a = new A() ; + System.out.println(a.bar()) ; + } +} + +class A { + public int foo() { + return 22 ; + } + public int bar() { + return 42 ; + } +} |