Ques 257. What is Class.forName() does and how it is useful?
It loads the class into the ClassLoader. It returns the Class. Using that you can get the instance ( 'class-instance'??.newInstance() ).
Is it helpful?
Add CommentView Comments
Ques 258. What do you mean by RMI and how it is useful?
RMI is a remote method invocation. Using RMI, you can work with remote object. The function calls are as though you are invoking a local variable. So it gives you a impression that you are working really with a object that resides within your own JVM (Java Virtual Machine) though it is somewhere.
PreparedStatements are precompiled statements. It is mainly used to speed up the process of inserting/updating/deleting especially when there is a bulk processing.