Please I need the answers and little explanation. What type of variable is X. What is numb in the code. What is Randon | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Please I need the answers and little explanation. What type of variable is X. What is numb in the code. What is Randon

Import Java.util.Random public class Maths{ public static void main(string[] args{ Random numb=new Random(System.in) System. out. print(''Generate a number"); int x = numb.nextInt();

22nd Jul 2017, 9:15 PM
wilson
1 Answer
- 1
Int. That is an integer.
22nd Jul 2017, 9:21 PM
josh mizzi
josh mizzi - avatar