Home / Programming MCQs / JAVA MCQs / Question
R
Q. What is the output of the Java code snippet below?
byte a= 1; if(!a) { System.out.println("FISH"); } else { System.out.println("CRAB"); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What is the output of a Logical OR (|) operation if one of the inputs/operands is false?
Why DB connections are not written directly in JSPs?
Which is the Logical operator in Java that works with a Single Operand?
What describes an algorithm performs in best, average or worse case scenarios?
Which of the following type of JDBC driver, uses database native protocol?
What is maximum lines of code that can be written inside a Java style IF, ELSE or IF-ELSE block?
A constructor can call another overloaded constructor using the ___ keyword in Java.
Discusssion
Login to discuss.