![]() Related Questions Latest Answer : Memory leaks are possible in Java. There is a possibility that the garbage collector may never even run during an application's lifetime, even if it is explicitly invoked by calling System.gc(). The garbage collector won't be automatically run ... 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 ... Will there be a performance penalty if you make a method synchronized? If so, can you make any design changes to improve the performance Latest Answer : Java is only pass-by-value language. Passing a reference is not possible though you can pass by value. If you want changes to reflect back then consider the primitive type in a custom class not a wrapper class i.e., to say, this class will have getter ... Latest Answer : yes a method can be static and synchronized ... Latest Answer : The main differences are:Â Java does not support typedefs, defines, or a preprocessorJava supports classes, but does not support structures or unionsJava does not support multiple inheritanceJava does not support operator overloadingJava does not support ... Latest Answer : Only through Interface. ... Tags : Inheritance 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 ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||