FIS interview question

Write the internal implementation for POW fn in java?