This question is based on the false premise that the Sun is the kind of star that will explode. It isn't, and astronomers have seen lots of stars explode! I prefer not to answer hypothetical questions like this because they are non-physical.
All answers are provided by Dr. Sten Odenwald (Raytheon STX)
NASA IMAGE/POETRY Education and Public Outreach program.