0

Please guys I need the answers to this qstns.. What type of variable is X. What is Random in the code

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

24th Jul 2017, 10:55 AM
wilson
2 Réponses
+ 5
X is an integer
24th Jul 2017, 11:39 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
0
...
24th Jul 2017, 10:56 AM
wilson