From ff12bb1dd11c509fc7ac7529085df2d2407b0ece Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 26 Apr 2024 23:33:15 -0600 Subject: Add my test library --- output/ex43.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 output/ex43.java (limited to 'output/ex43.java') diff --git a/output/ex43.java b/output/ex43.java new file mode 100644 index 0000000..80657d9 --- /dev/null +++ b/output/ex43.java @@ -0,0 +1,22 @@ +class ex43 { + public static void main(String[] z) { + A a ; + a = new A() ; + System.out.println(a.foo()) ; + } +} + +class A { + + public int foo() { + int v ; + v = 1 ; + if (5 < v) { + System.out.println(1) ; + } else { + System.out.println(0) ; + } + return v ; + } + +} -- cgit v1.2.3