Your browser does not support JavaScript!

Which of the following is not a valid variable declaration in Java?

  • int x = 1;
  • int x;
  • float x = 20D; Correct
  • short x;
  • None of the above
Similar ITE-6104 questions