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
Why is core java important?
Tell me the Importent classes in net package?
How do you check if a string contains only numeric digits?
How is hashset defined in java?
Why array is used in java?
What is class and its types?
How long will it take to learn java?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
Is set thread safe java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
Is void a keyword in java?
What restrictions are placed on method overloading in java programming?
How do you differentiate abstract class from interface?
Why wait and notify methods are declared in object class?