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
Can a static class implement an interface?
Why packages are used?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is string example?
Is null a keyword in java?
Can abstract class have private constructor?
What is argument in java?
What is number data type?
What is the difference between notify and notifyall method?
Can you explain the usages of class.forname()?
Is a copy constructor?
Can there be an abstract method without an abstract class?
Does apple use java?
What are the basic interfaces of java collections framework?
What are the 3 types of loops in java?