How To Define Power In Java