Which of the below are non-java resources?
i. memory allocated by a c function using malloc which was called from a java function.
ii. file handlers
i & ii
i, ii, & iii
All these are non-java resources.
1. Memory allocated by a c function using malloc which was called from a java function.
2. file handlers
4. Graphic objects.
Note: it is the programmers duty to clean or release these non-java resources as GC will not clean non-java resources.
Back To Top