Explain class A{} class B{} class C{} all the three classes are saved in a single file name, what the name should i provide to the file ,in what file name should i run the program? Ple Explain
9 13784They 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?
3 13798they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
2 6459
What is the reason behind using constructors and destructors?
What is t type java?
Can we have return statement in finally clause? What will happen?
What do you mean by Hash Map and Hash Table?
What is argument in java?
What do you mean by formatting?
What is a website container?
How to sort a collection of custom Objects in Java?
What is singleton class and how can we make a class singleton?
What is the destroy method?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What is the purpose of skeleton and stub?
What are different access specifiers in java?
What is the difference between final, finally and finalize() in java?
What best practices should you follow while writing multithreaded code in java?