Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Final,Finally and Finalize keyowrds in Java explained

Share this post!
 Vote this!

final, finally, and finalize are keywords (and a method) in Java that despite their common naming are used for completely different purposes. It seems that because of this very reason interviewers like to ask questions about the differences between final, finally and finalize. So, in order to get a better understanding on this issue, here's my brief explanation of the final and finally keywords, and the finally method, along with relevant examples:                more...

0 comments:

Post a Comment