Wanted to understand how I calculate the square root in Java? Please share a sample program, this will help me with my task. Thank you very much!