Interview Question: Can I invoke Runtime.gc() in an EJB?

By: Ash Viewed: 153251 times  Printer Friendly Format    


Question:Can I invoke Runtime.gc() in an EJB?

Answer: You shouldn’t. What will happen depends on the implementation, but the call will most likely be ignored.

 

 

 

 


Most Viewed Articles (in Interview )

Latest Articles (in Interview)

Comment on this tutorial