try block first, followed by catch block, next finally block in the sequence. try without catch you get error. try followed by more catches not allowed.if try block success print the message. at last finally block will executed.