Latest Answer : Use of arrays of primitives is supposed to eat up a lot of memory. Use of tools like Jprobe, Jprofile would help determine which kind of datastructures eat up lot of memory and lead in memory leaks. ...
Latest Answer : JavaBeans are just regular class files. They have get and set methods only. They are not controlled by separate EJB server like JBOSS etc, They can easily work on JVM itself and they dont require any application/EJB server.EJB'S also have get and ...
Latest Answer : Java is neither Pass By value or Pass By reference. Let say the functiion is public function(int number)//code which calls the above functionint num = 10;function(num)so num here points to 10 , the num has some adress . The address of num is copied to ...
Latest Answer : Both apply OOPS. but java adopts byte code convertion whereas c++ does not ...
Latest Answer : hi,To achieve multiple Inheritance in java we must use Interface. ...
Latest Answer : Primary Advantages is, we don't need to add code in Java Class(attribute, Mutator Method[get/set]), Sipmply we can add new attributes by modifying XML files. Eg . ActionForm and DynaActionForm in Struts FrameWork. ...
Latest Answer : primtive datatyp is non object datatypeint chat short byte long float double boolean ...
Latest Answer : Yes. Every thread maintains its own separate stack, called Runtime Stack but they share the same memory. Elements of the stack are the method invocations, called activation records or stack frame. The activation record contains pertinent information ...
Latest Answer : HiHeap is the location where a object is stored after it is instansiated.Means after A obj=new A();now obj will be storeed in heap. ...
Latest Answer : In Java Object are passed by reference and Primitive data is always pass by value ...