Expand your knowledge base with the help of IDNLearn.com's extensive answer archive. Join our interactive Q&A community and access a wealth of reliable answers to your most pressing questions.

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;