Polybenzoxazine was selected as a carbon source due to its exceptional properties, including low water adsorption, no need of adding initiators or catalyst for polymerization, near-zero volumetric change upon polymerization, no release of volatile during polymerization, and high molecular design flexibility by changing amine and phenol derivatives leading to different properties