What is the output? why? A)1 B)0 C) Complation Error D) Syntax Error code: public class Java Application16 { public stat
Posted: Tue May 24, 2022 8:32 am
What is the output? why? A)1 B)0 C) Complation Error D) Syntax Error code: public class Java Application16 { public static int yy(int x){ if (x < 0) return 1; else if (x>=0) return 1; } public static void main(String[] args) { System.out.println(yy (5)); 12:43 PM / }