Latest Answer: class container{//put the setters and getters of key and valuesobject key=null; //acting as keyList values=null;public void Container(){key=new Object();values=new ArrayList();}public insert(object key,object values){this.key=key;this.values=values;}}class ...
Latest Answer: Static Binding: if the binding is occur at compile time of our source code is called static bindingDynamic Binding: if the binding is occur when interpreter our class fine, then that binding is called Dynamic Binding. ...
How will u declare a synchronized block? What does this represent in the Declaration of synchronized block?
Latest Answer: Definitely. That is actually the prefer way to make your client code more flexible and easier to maintain.For example, in a gaming program, you have:Breakable b = Factory.createObject();b.performBreak();It doesn't matter what concret Obejct Factory.createObect() ...
If we can access a sevlet through both GET and POST methods then which methods will u declare in the servlet class?
Latest Answer: Dynamic Binding [Late Binding]:The runtime system [JVM]during runtime determines the appropriate method call based on the class of the object. This feature is called as Polymorphism. All the methods in java are dynamically resolved. ...
View page << Previous 3 4 5 6 [7] 8 9 10 11 12 Next >>

Go Top