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 primitive type byte?
Is list ordered in java?
Why arraylist is used in java?
How many bits is a double?
Can you explain the final method modifier?
When does an object becomes eligible for garbage collection in java?
What is variable in java?
What is the epoch date?
What is JVM and is it platform independent?
Can an arraylist be empty?
What is boolean logic?
When is finally block not called?
Why stringbuilder is not thread safe in java?
What is void in java?
Can Exception handling we can handle multiple catch blocks?