Submitted Questions

  • Inheritance in java

    Is super class object gets initiated while creating the subclass object? what happen in heap and stack when call super class method from subclass and call super class constructor by using super keyword from subclass?

    sarath

    • Jul 21st, 2011

    yup its intiated as for inheritance.. the object will be created in heap and as you would probably know that superclass constructor is called when subclass constructor is called.. but first the super...

  • Java Persistance API

    What is JPA, can we use JPA without hibernate (hibernate3.jar)? Explain with samples?

    Balaji

    • Apr 10th, 2015

    Yes. Hibernate is a framework which helps us to achieve object data persistence using JPA. We can use direct JPA or alternative frameworks for hibernate as well.

  • Session and Cookie

    What is the different between session and cookies? Where is the session information stored? In RAM of the Client or Disk of the Client or it is stored on the server?