Which of these is a type of variable in Java?

15. Which of these is a type of variable in Java?

  1. Instance Variable
  2. Local Variable
  3. Static Variable
  4. All of these

Answer: D) All of these

Explanation:

There are three types of variables in Java:

  1. Instance variable
  2. Local variable
  3. Class/Static variable

Comments and Discussions!

Load comments ↻






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