switch case in Java - Quiz

  • AIt is used to declare a constant variable.
  • BIt refers to the current instance of the class.
  • CIt is used to called static method.
  • DIt represent the return value of a function.
  • ABoth Assertion(A) and Reason(R) are true and Reason(R) is correct explanation of Assertion(A).
  • BBoth Assertion(A) and Reason(R) are true and Reason(R) is not correct explanation of Assertion(A).
  • CAssertion(A) is true and Reason(R) is false.
  • DAssertion(A) is false and Reason(R) is true.