Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers|
|Ans. Compilation is the process of converting Java source files to class files which can be executed by the Java runtime environment whereas Decompilation is the process of converting class files back to the Java Source code.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  compilation vs decompilation  compiler vs decompiler|
|How does volatile affect code optimization by compiler?|
|How compiler handles the exceptions in overriding ?|
|Which of the following is false about Constructors ?|
|Is JVM, a compiler or interpretor ?|
|Is it possible to compile and run a Java program without writing main( ) method?|
|If we try to add duplicate key to the HashMap, What will happen ?|
| Why doesn't this code give compile time error when we are clearly trying to add an integer element to an array of Strings|
Object strArray = new String;
strArray = 5;
|Will Compiler creates a default no argument constructor if we specify only multi argument constructor ?|
|What is the difference between compile and install ?|
|Will this code compile ?|