comecei a fazer mais a partir dai não consegui mais queria juntar os dois vetores vet1 e vet2 em um só que seria o vet3… se alguem poder me ajudar obrigado!
public static void main(String[] args) {
// TODO code application logic here
Scanner leia = new Scanner(System.in);
Random x = new Random();
int i,n;
int[] vetor1 = new int[10];
int[] vetor2 = new int[10];
int[] vetor3 = new int [20];
//informando valores do vetor 1
for (i=0;i<10;i++){
vet1[i]=1+x.nextInt(99);
System.out.print(vet1[i] + " " );
}
System.out.println( " " );
//informando valores do vetor 2
for (n=0;n<10;n++){
vet2[n]=1+x.nextInt(99);
System.out.print(vet2[n] + " " );
}