Recent questions tagged Java

0 votes
    Which method is used to generate boolean random values in java? (a) nextBoolean() (b) randomBoolean() (c) ... Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    What is the return type of Math.random() method? (a) Integer (b) Double (c) String (d) Boolean This ... More Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Random is a final class? (a) True (b) False I got this question by my college professor while I was ... More Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    What is the range of numbers returned by Math.random() method? (a) -1.0 to 1.0 (b) -1 to 1 (c) ... util - More Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    How many bits are used for generating random numbers? (a) 32 (b) 64 (c) 48 (d) 8 The question was ... - More Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Math.random() guarantees uniqueness? (a) True (b) False This question was posed to me in quiz. Enquiry is ... Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Is there a way to add member functions to a Drools declared type? That is, I'd like to say ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these class produce objects with respect to geographical locations? (a) TimeZone (b) Locale (c) Date ... Classes of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    Which of these methods is not a Locale class? (a) UK (b) US (c) INDIA (d) KOREA I had been asked ... - More Utility Classes of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    Which of these class can generate pseudorandom numbers? (a) Locale (b) Rand (c) Random (d) None of the ... Utility Classes of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
...