<AptiCode/>

The ultimate platform for developers to practice, compete, and grow. Join our community of passionate coders today.

TwitterLinkedIn

Platform

ProblemsCompilerAptitude TestsContests

Company

About UsContactRewardsContribute

Legal

Terms of ServicePrivacy PolicyShipping PolicyRefund Policy

© 2025 AptiCode. All rights reserved.

Made withfor developers

topic/Java.lang Class

Question NoTitleTypeMarks
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