Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package arreglos;
- import java.util.Scanner;
- public class Arreglos {
- public int i;
- public int notamanio;
- public int nombre;
- int[] a;
- public void tamanio(){
- Scanner scan = new Scanner(System.in);
- notamanio = scan.nextInt();
- }
- public void llenar(){
- a = new a[i];
- Random nombre = new Random;
- for(i=0; i < notamanio ; i++){
- a[i]= new.nombre;
- }
- }
- public static void main(String[] args) {
- // TODO code application logic here
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement