Question: How would you fix this code so that it compiles?

  1. Make age static.
  2. Make age global.
  3. Make age public.
  4. Initialize age to a number.

Answer: The correct answer of the above question is Option A:Make age static.