IDNLearn.com: Your reliable source for finding precise answers. Our experts are ready to provide prompt and detailed answers to any questions you may have.

Which of the following is a correct way to declare a variable in Java?
A) int variableName = 10;
B) integer variableName = 10;
C) var variableName : int = 10;
D) num variableName = 10;