This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Null pointer before finally block  RSS feed

 
Santosh Kumar Nayak
Ranch Hand
Posts: 193
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is a NULL Pointer Exception before FINALLY BLOCK then will the finally block get executed ?
 
Stephan van Hulst
Saloon Keeper
Posts: 7687
139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the Oracle tutorial on the finally-block?

http://docs.oracle.com/javase/tutorial/essential/exceptions/finally.html
 
Santosh Kumar Nayak
Ranch Hand
Posts: 193
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the useful link
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!