Try With Resources and Multi catch Block
In this blog, I will Explain you what do you mean by Try With Resources and what do you mean by Multi catch Block, how the Try With Resources will work and how the Multi catch Block will work, In which scenarios we should use Try With Resources and in which scenarios we should use Multi catch Block , will be understand by ...
Read More
Difference between final, finally and finalize()
What is the difference between final, finally, and finalize() ? Final is a keyword and it is a non-access modifier, It can be used in class level, method level or variable level. The Finally block is used for maintain cleanup code. Finalize() method is called before an object is discarded by th...
Read More
ClassNotFoundException vs NoClassDefFoundError
The most confusing, unknown and much discusses exceptions in Java is ClassNotFoundException and NoClassDefFoundError. This is a common question that you very often face in a Java Interview irrespective of interview level. Here I covered at a greater detail about the reason or circumstances under which we see these tw...
Read More