Static variables in java are declared as ___

28. Static variables in java are declared as ___.

  1. final variables
  2. new variables
  3. Constants
  4. All of these

Answer: C) Constants

Explanation:

The static variables declarations just like constants, they required static keyword and an initial value.

Comments and Discussions!

Load comments ↻






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