logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the common usage of serialization? What exceptions occur during serialization?


  • Correct Answer
  • The object need to be serialized when it?s sent over a network and when it?s state is saved Exceptions which occur during serialization are: a transient fields b when the base class is serialized then only base class fields are handled c static fields are ignored because they are not part of any state 


  • Technology problems


    Search Results


    • 1. What is the Dictionary class?
    • Discuss
    • 2. How do you decide when to use HashMap and when to use TreeMap ?
    • Discuss
    • 3. How are this() and super() used with constructors?
    • Discuss
    • 4. Just by seeing the signature of the bean how can you specity whether it is a Statefull of Stateless Session Bean?
    • Discuss
    • 5. Difference between Java Beans & Servlets?
    • Discuss
    • 6. What is the purpose of garbage collection in Java, and when is it used ?
    • Discuss
    • 7. When is the finalize() called ? What is the purpose of finalization ?
    • Discuss
    • 8. What is Marker Interface?
    • Discuss
    • 9. 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
    • 10. Which of the following are valied?

    • Options
    • A. A class can extend any number of classes simulteneously
    • B. A class can implement only one interface at a time
    • C. A class can extend other class or can implement interface but not both simulteneously
    • D. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment