+ 2
Final keyword in java what is that? in simple language is that make float and dubal variable fix value 5.7 = 5.7?
5 Antworten
+ 2
final keyword helps creating constants, a variable whose value is readonly and can't be changed.
int x = 3; //normal variable
x = 45; //allowed
final int items=10; //a constant
items = 11. //not allowed error
+ 3
Yes dear
+ 2
other values parameter not accept?
+ 2
Elaborate your questions.
+ 2
do you mean that final keyword make attribute values final? can not change after declare one time?