Hi Vinay,
You have to use COMMIT WORK statement after inserting record. So you can immediately check entry in table. In your case, program has its own commit work after completion of execution hence you are getting it after end of program.
Cheers,
Ashish