By mass, mostly oxygen and carbon (googling around, ~70+% water, ~20+% carbohydrates). Compared to the sun (~70+% hydrogen, almost all of the rest is helium), the amount of hydrogen is tiny . The density of the sun is substantially higher than its banana-replacement as well - 1.4 g/cm^3 vs a bit over 1 g/cm^3. It seems like you end up with a star that would fuse the limited amounts of hydrogen and resulting helium but is too small to get any further. The 'would be just as hot' thing seems like a bit of newspapery oversimplification - at solar masses (and below) bananium doesn't appear to be very good stellar fuel.
The only thing that remains of the original bananas is the color yellow, which explains the color of the sun.