Which of the following expressions is correct?
A. Rational.doubleValue();
B. Rational.doubleValue("5/4");
C. new Rational(5, 4).doubleValue();
D. new Rational(5, 4).toDoubleValue();
E. new Rational(5, 4).intValue();
The correct answer is CE
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.