The getClass() method is used to –

28. The getClass() method is used to -

  1. Extract the class of the given number
  2. Extract the value of the variable
  3. Extract the memory location of the variable
  4. All of the Above

Answer: A) Extract the class of the given number

Explanation:

The getClass() method is used to return the class of the given number.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.