Read Also : Top 25 frequently asked core java interview questions
Due to slow internet connection , some of our readers were not able to view all the questions . So ,
we decided to split this image rich post into two pages.
Let us discuss one by one ,
* Interviewer shows you the following code
Is the code compiles ? If yes then what will be the output ?
Answer >>
Compile : Yes
Output : String
Next Question >>
Is the code compiles ? If yes then what will be the output ?
Answer >>
Compile : No , Error at line 23
Reason : Method is ambiguous
Next Question >>
Is the code compiles ? If yes then what will be the output ?
Answer >>
Compile : Yes
Output : ArithmeticException
Next Question >>
Is the code compiles ? If yes then what will be the output ?
Answer >>
Compile : Yes
Output : Java Hungry Blogspot
Next Question >>
Is the code compiles ? If yes then what will be the output ?
Answer >>
Compile : Yes
Output : I am born new
Next Question >>
Is the code compiles ? If yes then what will be the output ?
Answer >>