Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example;
- public class HelloWorld {
- public static void main(String[] arguments) {
- double randomNumber = Math.random() * 10;
- double[] array = {(randomNumber)};
- double arrayLenght = array.length;
- System.out.println(array[0]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement