Post

@EclipseJavaIDE Also, the finally block is not executed if you pull the plug on the computer.
English

@EclipseJavaIDE The answer is T
System.exit() is the only instruction that can make "finally" not being executed
English

@EclipseJavaIDE T
System. exit () will stop the program
English

@EclipseJavaIDE What will be happen if the System.exit throws a exception 🤔
English

@EclipseJavaIDE @EclipseFdn We would all like to rename the "finally" block to a "always" block
#java #php #cpp
English

@EclipseJavaIDE Only T, finally block never execute because exit() in try blok.
English

@EclipseJavaIDE T the ‘finally’ block won’t execute since the program will be already stopped.
Israel 🇮🇱 English

@EclipseJavaIDE It won't excute finally block,beacasue we called the system.exit.
English

@EclipseJavaIDE Output is only "T"
Because after System.exit() finally will not be executed. 😀
English

@EclipseJavaIDE The answer is "T", because the System.exit(0); ends the program execution.
English

@EclipseJavaIDE T
Nothing else will get printed. exit() will terminate everything after that.
English

















