A

Admin • 831K Points
Coach

Q. Which keyword is used to declare a variable that can hold a reference to an object of any class in Java?

  • (A) object
  • (B) class
  • (C) var
  • (D) generic
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
The correct answer is Option C: var.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.