Google Interview Question

Write java implementation of happy numbers