State true or false :- Final variables should be declared in the beginning?

A) True
B) False

Showing Answers 1 - 5 of 5 Answers

prajkta

  • Feb 1st, 2006
 

it is true

we have to declare final vars initialy

we can declare final  vars inside any method as local var

value of final var can't change

  Was this answer useful?  Yes

alskor

  • Mar 8th, 2006
 

this is wrong. final variables CAN be declared in the beginning as well as at the end of a class.so, the answer for this question is wrong.the limitation is that final variables can't be declared inside methods and can't be modified. but this is out of the scope of this question.

  Was this answer useful?  Yes

Thirumala Reddy K

  • Jun 10th, 2016
 

Final variables should be declared in the beginning

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions