Java questions: Urgent



Hi All,

I was asked following questions in my interview so, I would appreciate
that if anyone of u would answer them:

1, how fast is hash map? explain in terms of time complexity?
2.how would u group multile statements as one transaction in JDBC?
3.how woould map inheritance to DB schema?
4.Which method do u overide in hashmap?something related to keys? I may
not be explaining it correctly.

Thanks!

.



Relevant Pages

  • Re: Hash Map API Preference
    ... >> I would like to know your preferences regarding a C API for a hash map. ... >> 1) If two keys generate the same hash value should a comparison ... > Business schools teach programming? ...
    (comp.lang.c)
  • Re: Dictionary .keys() and .values() should return a set [with Python 3000 in mind]
    ... - creating a set MAY be slower. ... Python's sets seem to imply to that they will always be a hash map. ... I can't speak for your code, but this is the most common use of keys in ... sets cannot be sorted, while lists can. ...
    (comp.lang.python)