Page 1 of 1

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
by answerhappygod
What Is The Output Why A 1 B 0 C Complation Error D Syntax Error Code Public Class Java Application16 Public Stat 1
What Is The Output Why A 1 B 0 C Complation Error D Syntax Error Code Public Class Java Application16 Public Stat 1 (28.21 KiB) Viewed 13 times
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 / }