Documentos de Académico
Documentos de Profesional
Documentos de Cultura
import servicio.ArregloService;
/**
*
* @author litit
*/
public class Guia9Utilidades_3 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
servicio.inicializarA(arregloA);
System.out.println("Arreglo A:");
servicio.mostrar(arregloA);
servicio.ordenar(arregloA);
System.out.println("Arreglo A ordenado de mayor a menor:");
servicio.mostrar(arregloA);
servicio.inicializarB(arregloA, arregloB);
System.out.println("Arreglo B:");
servicio.mostrar(arregloB);
}
}
============================================================================
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package servicio;
import java.util.Arrays;
import java.util.Random;