What is the output? why? A)1 B)0 C) Complation Error D) Syntax Error code: public class Java Application16 { public stat
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the output? why? A)1 B)0 C) Complation Error D) Syntax Error code: public class Java Application16 { public stat
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 / }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!