Online Java Compiler By
JavaTpoint.com
public class AsinExample4 { public static void main(String[] args) { double a = Math.PI; // return NaN because Math.PI value is 3.414 that is greater than 1 System.out.println(Math.asin(a)); } }
Output