FIS Interview Question

Write the internal implementation for POW fn in java?