R
Q. What is the output of Java code snippet with a Ternary operator or Conditional operator?
void show() { String name = true ? getName() : "FRANCE"; System.out.print(name); } void getName() { System.out.print("ENGLAND"); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the name of << bitwise operator in Java?
Q. Which of these methods can be used to check whether the given value is a number or not?
Q. The life cycle of a servlet is managed by
Q. Which of these can be used to fully abstract a class from its implementation?
Discusssion
Login to discuss.