topic/Java.lang Class
Start Test
Question No
Title
Type
Marks
771.
What is the value of "d" after this line of code has been executed?double d = Math.round ( 2.5 + Math.random() );
MCQ
5
772.
Which of the following would compile without error?
MCQ
5
774.
public class Myfile { public static void main (String[] args) { String biz = args[1]; String baz = args[2]; String rip = args[3]; System.out.println("Arg is " + rip); } }Select how you would start the program to cause it to print:Arg is 2
MCQ
5
773.
Which of the following are valid calls toMath.max?Math.max(1,4)Math.max(2.3, 5)Math.max(1, 3, 5, 7)Math.max(-1.5, -2.8f)
MCQ
5