in Education by
What is the return type of Math.random() method? (a) Integer (b) Double (c) String (d) Boolean This question was posed to me in an online quiz. I'm obligated to ask this question of Random Number in chapter java.util – More Utility Classes of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Correct option is (b) Double For explanation: Math.random() method returns floating point number or precisely a double.

Related questions

0 votes
    What is the range of numbers returned by Math.random() method? (a) -1.0 to 1.0 (b) -1 ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Math.random() guarantees uniqueness? (a) True (b) False This question was posed to me in quiz. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    What is the return type of the method parseInt()? (a) String (b) Float (c) Integer (d) Date ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Which of these type parameters is used for a generic class to return and accept any type of object? ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What is the return type of lambda expression? (a) String (b) Object (c) void (d) Function This ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What is the return type of typeof for standard JavaScript objects? (a) xml (b) object (c) dom (d ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is the return type of the hash property? (a) Query string (b) Packets (c) String (d) ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is the return type of the script tag? (a) File I/O (b) Minify JavaScript (c) HTTP Request ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is the return type of the remote server? (a) HTTP Response (b) HTTP Request (c) Get Request ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Which method receives the return value of setInterval() to cancel future invocations? (a) clearInvocation() ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
...