Find the output of the following program segment, when val=500.
Sum = val > 650? 400 : 200;
System.out.println(Sum);
Share
Find the output of the following program segment, when val=500.
Sum = val > 650? 400 : 200;
System.out.println(Sum);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies