Home / Programming MCQs / JAVA MCQs / Question
R
Q. Which method in java is used to generate random numbers in Java?
The Java method random.nextInt() is used to generate random numbers.
You must be Logged in to update hint/solution
An exception is a condition that is caused by a ________ error in the program
Which escape character is used for word character in regex?
The data type for numbers such as 3.14159 is _________.
From where the SequenceInputStream class is used to read data?
What is the output of the Java code snippet below?
When is the finalize() method called?
Discusssion
Login to discuss.