R
Q. What is the output of this program?
public class ternary_operator_Example { public static void main(String args[]) { int a = 5; int b = ~ a; int c; c = a > b ? a : b; System.out.print(c); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. How do you force garbage collection to occur at a certain point?
Q. Which of the following is true about Java strings?
Q. Java has a distinction of supporting special operators known as
Q. Which of these class is used to create an object whose character sequence is mutable?
Q. The delimiter used to separate command-line arguments in Java is ____.
Q. What are the keywords used to implement a SWITCH case in Java language?
Q. Which of these class is used to read characters and strings in Java from console?
Discusssion
Login to discuss.