Question: Question7 -1 10 Write a java statement to generate random number between 0 and 200. (0 excluded, but 200 included). Random rnd = new Random();

 Question7 -1 10 Write a java statement to generate random number

Question7 -1 10 Write a java statement to generate random number between 0 and 200. (0 excluded, but 200 included). Random rnd = new Random(); rnd.nextlnt(0,201) Random rnd- new Random0: 2 rnd.nextlnt(0,200) Random rnd = new Random(); rnd.nextlnt(1,201) Random rnd new Random0: 4 rnd.nextint (1,200)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!