549). Which of these class contains all the methods present in Math class?

[A]SystemMath
[B]StrictMath
[C]Compiler
[D]ClassLoader

Show Answer

551). Which of these method returns the remainder of dividend / divisor?

[A]remainder()
[B] getRemainder()
[C]CSIremainder()
[D] IEEEremainder()

Show Answer

553). toRadian() and toDegree() methods were added by which version of Java?

[A]Java 1.0
[B]Java 1.5
[C] Java 2.0
[D] Java 3.0

Show Answer

554). Which of these method returns a smallest whole number greater than or equal to variable X?

[A]double ciel(double X)
[B]double floor(double X)
[C]double max(double X)
[D]double min(double X)

Show Answer

555). What will be the output of the following Java program?
    class Output 
    {
        public static void main(String args[]) 
        {
            double x = 3.14;  
            int y = (int) Math.toDegrees(x);
            System.out.print(y);
        }
    }

[A]0
[B]179
[C]180
[D]360

Show Answer

556). What will be the output of the following Java program?
   class Output 
    {
        public static void main(String args[]) 
        {
            double x = 3.14;  
            int y = (int) Math.toRadians(x);
            System.out.print(y);
        }
    }

[A]0
[B]3
[C]3.0
[D]3.1

Show Answer

557). What will be the output of the following Java program?
    class Output 
    {
        public static void main(String args[]) 
        {
            double x = 102;
            double y = 5;
            double z = Math.IEEEremainder(x, y);
            System.out.print(z);}
         }
    }

[A]0
[B]1
[C]2
[D]3

Show Answer

558). Will this Java program generate same output is executed again?
    class Output 
    {
        public static void main(String args[]) 
        {
            int y = double z = Math.random();
            System.out.print(y);
        }
    }

[A]Yes
[B]No
[C]Compiler Dependent
[D]Operating System Dependent

Show Answer