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
Is string a datatype?
Which is a valid identifier?
what is synchronization and why is it important? : Java thread
What is the relationship between class and object?
Explain scope or life time of local variables in java?
What is data type in java?
What exactly is a .class file?
What is the use of put method?
What is difference between variable declaration and definition?
What do you mean by object?
What is the Concept of Encapsulation in OOPS
What are the 2 types of java programs?
Can you access the private method from outside the class?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
Why java is considered dynamic?