Can you explain benefits of classpath?

Can you explain benefits of classpath?

Classpath is the path in which JVM searches for class libraries at the time of compiling the Java Application. By setting the CLASSPATH environment variable, JVM invokes the Java API and related classes, supported library files needed for compiling java program. Instead of placing all the applications in the library directory, the applications can be saved in different directories and set the classpath for compiling them.
Explain the reason of Out of Memory exception in Java
The OutOfMemoryException can occur either the JVM may have a limit of memory to access to, or the system may have run out of physical memory....
What will happen when ResultSet is not closed?
In a pooled database connection, it is returned to the pool and could close only after expiring its life time......
Explain the use of Clonable,and serializable interface.
The similarity of Clonable and Serializable interfaces is that they both are marker interfaces.....
Post your comment