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 13547They 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 13670they 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 6366
What does @override mean?
Can vector have duplicates in java?
What is the main function in java?
What is map in java?
What is the common usage of serialization? What exceptions occur during serialization?
How does singleton class work?
What is the access scope of protected access specifier?
What is difference between classpath and path variables in java?
What is numeric function?
What is the primary benefit of encapsulation?
Can we have multiple public classes in a java source file?
How do you escape json?
Is null an object in java?
What is string length in java?
What is difference between synchronize and concurrent collection in java?