Master list of Java interview questions - 115 questions - Page 1
30 simple Java questions - Page 10
Click the below link to check out Q/A like the below samples
What is the difference between procedural and object-oriented programs?- a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object, which is nothing but combination of data and code. b) In procedural program, data is exposed to the whole program whereas in OOPs program, it is accessible with in the object and which in turn assures the security of the code.
What is the difference between constructor and method?- Constructor will be automatically invoked when an object is created whereas method has to be called explicitly.
What is the use of bin and lib in JDK?
What is final, finalize() and finally?
What is Garbage Collection and how to call it explicitly?
What is the difference between abstract class and interface?