70.0k views
25 votes
Explain how the value of 90 is stored in the Java variable, myFinalGrade.

User Jchu
by
4.7k points

1 Answer

3 votes

Answer:

As integer

Step-by-step explanation:

More information is needed to properly answer this question.

However, I will answer this question with the limited information given.

90 will be stored as an integer in the variable.

First, the variable needs to be declared;

int myFinalGrade;

Then the variable is initialized;

myFinalGrade = 90;

Hence, the value is stored as an integer.

User Petar Velev
by
4.0k points