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 largest number a double can hold?

539


Can list contain null in java?

593


How do you access command-line arguments within the code?

553


What is called module?

542


What is JVM and is it platform independent?

542






Can we convert integer to string in java?

563


What does method mean?

488


How can we run a java program without making any object?

523


What is the major drawback of internal iteration over external iteration?

556


Why does java have two ways to create child threads?

441


What is an association?

528


Why synchronization is important?

566


What is a numeric format?

538


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

494


Is int primitive data type?

490