logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the Dictionary class?


  • Correct Answer
  • - The Dictionary class is an abstract class - Classes like Hashtable which map keys to values inherit from this class - An object can be looked for if a dictionary and a key is provided - Any non-null object can be used as a key and as a value 


  • Technology problems


    Search Results


    • 1. How do you decide when to use HashMap and when to use TreeMap ?
    • Discuss
    • 2. How are this() and super() used with constructors?
    • Discuss
    • 3. Just by seeing the signature of the bean how can you specity whether it is a Statefull of Stateless Session Bean?
    • Discuss
    • 4. Difference between Java Beans & Servlets?
    • Discuss
    • 5. try { int x = Integer.parseInt("two"); } Which could be used to create an appropriate catch block?

    • Options
    • A. ClassCastException
    • B. IllegalStateException
    • C. NumberFormatException
    • D. None
    • Discuss
    • 6. What is the common usage of serialization? What exceptions occur during serialization?
    • Discuss
    • 7. What is the purpose of garbage collection in Java, and when is it used ?
    • Discuss
    • 8. When is the finalize() called ? What is the purpose of finalization ?
    • Discuss
    • 9. What is Marker Interface?
    • Discuss
    • 10. X implements Y extends Z

    • Options
    • A. X can be class Y,Z are interfaces
    • B. X is an interface Y,Z are classes
    • C. X,Y are classes Z is an interface
    • D. Complilation error
    • Discuss


    Comments

    There are no comments.

Enter a new Comment