What is the output? why? A)1 B)0 C) Complation Error D) Syntax Error code: public class Java Application16 { public stat

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
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

Post 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 12 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 / }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply