🎴 Flashcard Mode

Java Keywords

Card1 / 8
Mastered0
Review0
QuestionClick to flip

In Java, final keyword gives the same result as ________ declaration in C++.

AnswerClick to flip back
A
const
💡 Explanation:

The final keyword declares the variable as a constant. The final variable has to be initialized only once. The same process is done in C++ by the keyword const.

Change Mode