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 final, finally, finalize?
Is a case study a method or methodology?
What are the string methods in java?
What are parsers? Dom vs sax parser.
What is byte data type?
Explain what is Marker interface?
what is ststic with example
Name four container classes.
Explain differences between collection api and stream api?
What about main thread in java?
Why java is considered dynamic?
Explain polymorphism citing an example.
What do the thread?class methods run() and start() do?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
Explain the difference between jvm and jre?