They had given one progam
final HashMap hm=new HashMap();
public void show()
{
hm.put("name",value);
}
in this prg here the final hashtable value can be changed in
put method,its the prg run?
Answer Posted / cool_duzz
no.. final cannot be modified..
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
What is the purpose of the finalize() method?
What is space character in java?
Why do I need to declare the type of a variable in java?
What is difference between adapter class and listener?
How do you know if a value is nan?
Is java a super set of javascript?
Can we sort list in java?
Why do you canvas?
Why do we use return statement?
Is java call by value?
What is the Concept of Encapsulation in OOPS
Why is whitespace important?
What happens if we don’t override run method ?
What is return null in java?
In the below example, how many string objects are created?