Class A{Public void meth(){}}class B extends A{ Public void meth(){ } public static void main(String args[]){ A a=new A(); a.meth();//which method will this call } }if u want to call a method of class B then how can u achieve this?
Latest Answer: It is default point location is before the first row ...
Latest Answer: Hashtable does not allow null values or null keys, whereas hash map allows null keys and null values. Hashtable is synchronzied whareas hashmap is not synchronized. In case of single thread using hashmap is faster than the hashtable. In case of multiple ...
Latest Answer: Stackoverfolw,stack underflow r Error.and nullpointerexception,arrayoutofboundexception r Exception. ...
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. ...
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: Throwable class ...
Latest Answer: Tag Library Descriptor ...
Latest Answer: JSP is created as a HTML page and ccan be visually created using tools like Dreamweaver or Frontpage. This gives an ability to GUI creator to create a page visually appealing. Servlets are meant to process requests for data. Servlets cannot ...
Latest Answer: HashMap is unsynchronized whereas HashTable can be synchronized. HashMap allows null value as key, but HashTable does not permit nulls. HashMap does not guarantee that the order of the map will remain constant overtime. ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top