R
Q. What is the output of the below Java program?
char grade = 'B'; switch(grade) { case 'A': System.out.print("GRADE-A ");break; case 'B': System.out.print("GRADE-B "); case 'C': System.out.print("GRADE-C "); }
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. ____ leaves a loop, ____ jumps to the next iteration
Q. What is the replacement of joda time library in java 8?
Q. What is the purpose of the "final" keyword in Java inheritance?
Q. Which method executes only once
Q. Which keyword is used for accessing the features of a package?
Q. Which of the below data type doesn't support overloaded methods for +,-,* and /?
Discusssion
Login to discuss.