Can we declare variables inside a method as Final Variables?

Answer Posted / therathna

write a small program and check ur system

we can use final variable method

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you initialize an arraylist in java?

500


What value is a variable of the string type automatically initialized?

603


What happens if we override only equals?

572


How do you avoid global variables?

534


What is reflexive association?

995






How can we make a class virtual?

629


What technique can be employed to compare two strings?

565


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

512


Is space a character in java?

506


Explain about narrowing conversion in java?

561


Why is java called java?

534


What is floor math?

505


What is the use of callablestatement?

566


What state is a thread in when it is executing?

518


Is there a case when finally will not execute?

559