Javatpoint Logo

Spring bean memory location

By: sach.2*** On: Sun Apr 17 23:07:26 IST 2016     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
Where does the spring bean is kept in the heap memory when it is created?Up0Down

 
All objects are stored in the heap. Local variables are stored on the stack but reference objects in the heap or primitives stored on the stack. This has nothing to do with Spring and everything to do with the Java language and JVM implementations.Image Created0Down

By: [email protected] On: Tue Apr 26 15:43:01 IST 2016 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No