Showing posts with label static binding. Show all posts
Showing posts with label static binding. Show all posts

Tuesday, August 10, 2010

Round IV

  • Is it possible to access a private method outside it's class? Done using reflection.

  • Iterator and ListIterator

  • how to delete a element from a collection.

  • Singleton, which is threadsafe.

  • difference between statement and preparedStatement object.

  • what is outer join?

  • synchronization - how to synchronize static methods?

  • Jmeter, i did talk more about pathway on NSK and it acutally load balances.

  • any singleton classes available in java. Runtime() I dint say this.

  • Runtime class for finding memory.

  • did ask about synchronizedset, synchronizedlist and synchronizedmap.

  • factory pattern. gave a complete picture about this w.r.t NSJSP manager code.
  • Saturday, March 27, 2010

    Adding Questions

  • What are the conditions underwhich finally() wont be called?
  • Differences between wait() and sleep()?
  • What is static/early binding and dynamic/late binding?
  • How to create user defined exceptions? How to use throw and throws?
  • What is synchrnization? What are threads and why do we need them?
  • Static block

    Updated on 8th May 2010

  • I have a design, which gets changed often. In this case, which is to be used either abstract class or interface?
  • Difference b/w wait() and sleep()?
  • Difference b/w Hashmap and Hashtable? How to synchronize my HashMap()?
  • Features in Java1.5
  • Difference b/w stringBuffer and stringBuilder?
  • Reflection
  •