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 are examples of modifiers?
What is lossy conversion in java?
How is java created?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
What is methodological theory?
How do you generate random numbers in java?
What is variable and example?
Who developed java?
What is the reason behind using constructors and destructors?
What is defined as false sharing in the context of multithreading?
how we can create packages in java?
Can you use this() and super() both in a constructor?
Can a class have multiple subclasses?
how to prepare for IT Officers Interview in Banks
Is singleton thread safe in java?