Java array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Java array

Wap in Java to create an array to store five integer values also initialize the array with five random numbers and display the array elements

27th Apr 2021, 2:44 AM
Naaz Hussain
Naaz Hussain - avatar
2 Answers
+ 2
Naaz Hussain Please show your attempts 😌
27th Apr 2021, 10:34 PM
❤️😍Prerana😍❤️ - avatar
Import random class for it
27th Apr 2021, 3:28 AM
Atul [Inactive]