gs gs128 Java Util More Utility Classes - Java Random Number - Quiz No.1

gs gs128 Java Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs128 Java of gs organization. We have 136 quizzes available related to the book/course Java. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Java Util More Utility Classes. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: Which class is used to generate random number?
Question 2: Which method is used to generate boolean random values in java?
Question 7: What will be the output of the following Java code snippet?

int a = random.nextInt(15) + 1;
Question 8: What will be the output of the following Java code snippet?

int a = random.nextInt(7) + 4;
Question 10: What is the signature of Math.random() method?


Online Quizzes of gs128 Java

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background