Latest Answer : as vector is synchronized class so execution wil be slower then arraylist,but that will be thread safe.arraylist execution fast but not thread safe. ...
Latest Answer : SAX Historical Background! Simple API for XML! Started as community-driven project "xml-dev mailing list! Originally designed as Java API "Others (C++, Python, Perl) are nowsupported! SAX 2 "Namespaces SAX Features! Event-driven ...
Answer posted by pravash on 2005-06-08 02:16:34: The PreparedStatement is a slightly more powerful version of a Statement, and should always be at least as quick and easy to handle as a Statement. The
Latest Answer : The PreparedStatement is a slightly more powerful version of a Statement, and should always be at least as quick and easy to handle as a Statement. The PreparedStatement may be parametrizednull Most relational databases handles a JDBC ...
Latest Answer : >> An object is a specific form of an instance: the instance of a class. >> There are other forms of instances - for example -- in UML, a link is an instance of an association. -- A process can be an instance of RUP ...
Latest Answer : Vector was used in the older version of java where all the methods are synchronised for thread safety, but since it was creating a lot of performance problem ArrayList was introduced where none of the methods are synchronised ...
Latest Answer : Hashtable is synchronized means it's therad safe ,where as hashmap is not . and hash table can't store null value hashmap can store null values. ...
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. ...