Can we declare variables inside a method as Final Variables?

Answer Posted / ravikiran(aptech mumbai)

yes we can declare.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of preparedstatement over statement?

572


what is meant by HQL?

647


When will you define a method as static in Java?

577


Why does abstract class have constructor?

567


What is finally in Java?

584






What are access specifiers available in java?

588


Is it necessary for the port addresses to be unique? Explain with reason.

579


Explain java coding standards for interfaces?

636


What is methodological theory?

529


Can we call thread start () twice?

521


What does index mean in java?

544


How many decimal places is a double?

543


What are the basic control structures?

501


Can we serialize arraylist in java?

548


What is difference between adapter class and listener?

505