Java Programming and Technical Programming Technical

Q. Difference between static and dynamic class loading.

A. Static class loading: The process of loading a class using new operator is called static class loading. Dynamic class loading: The process of loading a class at runtime is called dynamic class loading. Dynamic class loading can be done by using Class.forName()newInstance()

Read Solution (Total 0)

Java Other Question

Q. What is memory leak?

A. A memory leak is where an unreferenced object that will never be used again still hangs around in memory and doesnt get garbage collected
Q. Explain the Common use of EJB

A. The EJBs can be used to incorporate business logic in a web-centric application.
The EJBs can be used to integrate business processes in Business-to-business (B2B) e-commerce applications.In Enterprise Application Integration applications, EJBs can be used to house processing and mapping between different applications.