What is a resource leak?

What is a resource leak?

Usually all operating systems have limitations for using the number of file handles, sockets etc., which can be open. The limit is quite low for certain resources. If the memory of the system is 128 KB, the Java program can easily allocate all the resources available for handling files without filling up the heap. In this scenario, the Java program will fail. This situation is known as ‘resource leak’. In other words, resource leak is an unintentional maintenance of references to non-memory resources.
What is Bootstrap loader program?
Bootstrapping is a technique which activates more complex / complicated system of programs...
Can you run the java program without main method? - Java
A java applet application, a web application can run without main method. A Java program can run without using ‘ public static void main(String args[]) ‘ method by using a static block...
Can you explain why servlets extend HttpServlet?
Most of the web applications uses HTTProtocol. The user requests need to be received and processed through the HTTProtocol...
Post your comment