Home » JAVA Programming » Methods » Question
  1. What is the output of this program?
    public class Result 
    {
    public static void main(String args[])
    {
    double num = 4.13;
    int p = (int) Math.toDegrees(num);
    System.out.print(p);
    }
    }
    1. 236
    2. 4.13
    3. 230
    4. 200
    5. None of these
Correct Option: A

4.13 in degree 236.0.



Your comments will be displayed only after manual approval.