How to display a subproduct SKU on a configurable product frontend page?

In configurable product Page,
when i selected subproduct, SKU and other attribute don’t change.