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
What is the default size of load factor in hashing based collection?
How do you change an int to a string?
Explain inheritance in java?
What is data and its types?
Is hashset ordered java?
Is 0 true or false?
What is rmi and steps involved in developing an rmi object?
Is object a data type in java?
What are the advantages of autoboxing?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What is the technique adopted to create an immutable class?
Can a static block throw exception?
What does int argc char * argv [] mean?
Write a program to check string is palindrome without using loop?
I want to re-reach and use an object once it has been garbage collected. How it's possible?