Computer Science, asked by keerthanakkk, 3 months ago

int age=13 years; is a __________ java statement.
valid
invalid

Answers

Answered by BrainlyProgrammer
5

Question:

  • int age=13 years; is a _________ java statement.

Answer:-

  • Invalid

Explaination:-

  • The data type declared for "age" is int so it cannot have any words.
  • Hence it is an invalid java statement
Similar questions