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 10987They 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 12273they 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 5416
Can a constructor call another constructor?
What is a for loop in java?
What is better- service oriented or batch oriented solutions?
What is string subsequence method?
Can I overload to string method
What is the purpose of sizeof operator?
How do you create an array in java?
Can inner class final?
What is off heap memory?
Why java is call by value?
What is the purpose of tostring() method in java?
How do you sort in ascending order in java?
How can you add and remove nodes in jtree?
What is boolean used for?
What is module in oop?