Edit: this might be a little confusing. The heat caused by the internal pressure would be similar to that of our Sun. However, if it's not made of hydrogen, the fusion reaction that keeps it going wouldn't get under way: so a banana Sun would rapidly cool down from its initial heat rather than burning for billions of years. Thanks to people who pointed this out.