Examveda

Which one of the following causes memory leak?

A. Release database connection when querying is complete

B. Use Finally block as much as possible

C. Release instances stored in static tables

D. Not using Finally block often

Answer: Option D


This Question Belongs to Java Program >> Java Autoboxing

Join The Discussion

Related Questions on Java Autoboxing

What is autoboxing in Java?

A. The automatic conversion of primitive types to their corresponding wrapper classes

B. The process of creating a new box

C. A feature for manually converting wrapper classes to primitive types

D. A feature for boxing objects