Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Ques 61. What is the purpose of abstract class?

Ans. It is not an instantiable class. It provides the concrete implementation for some/all the methods. So that they can reuse the concrete functionality by inheriting the abstract class.

Is it helpful? Add Comment View Comments
Ques 62. What is the difference between interface and abstract class?
Ans. Abstract class defined with methods. Interface will declare only the methods. Abstract classes are very much useful when there is a some functionality across various classes. Interfaces are well suited for the classes which varies in functionality but with the same method signatures.
Is it helpful? Add Comment View Comments
Ques 63. What do you mean by RMI and how it is useful?
Ans. 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.
Is it helpful? Add Comment View Comments
Ques 64. What is the protocol used by RMI?
Ans. RMI-IIOP
Is it helpful? Add Comment View Comments
Ques 65. What is a hashCode?
Ans. hash code value for this object which is unique for every object.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook