diff options
| author | bd-912 <bdunahu@colostate.edu> | 2024-04-08 00:07:44 -0600 | 
|---|---|---|
| committer | bd-912 <bdunahu@colostate.edu> | 2024-04-08 00:07:44 -0600 | 
| commit | 0de1debf8b72c460d6974de8a8ab9cbbdeecb160 (patch) | |
| tree | 8f12392fbc7f287089cc2bf393e443a3e44ecded /vaporize/tests_easy/ex31.java | |
| parent | c3d4ff012c568a50e3403caf040de704bc201101 (diff) | |
J2V works for simple examples
Diffstat (limited to 'vaporize/tests_easy/ex31.java')
| -rw-r--r-- | vaporize/tests_easy/ex31.java | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/vaporize/tests_easy/ex31.java b/vaporize/tests_easy/ex31.java new file mode 100644 index 0000000..6527b8b --- /dev/null +++ b/vaporize/tests_easy/ex31.java @@ -0,0 +1,12 @@ +class ex31 { +    public static void main(String[] a) { +        A a ; +        a = new A() ; +    } +} + +class A { +    public int foo() { +        return 22 ; +    } +}  | 
