JAVA
Write a method that returns a specific digit of the irrational number square root of 2 (1.41421356237…) based on the user input.

For example, sqrtTwo(0) would return 1, and sqrtTwo(3) would return 4.

public static int sqrtTwo(int digit){
}