Eclipse - Ayuda por favor: Eclipse Java; the seleccion cannot be launched, and there are no recent launches

 
Vista:
sin imagen de perfil

Ayuda por favor: Eclipse Java; the seleccion cannot be launched, and there are no recent launches

Publicado por Arturo (1 intervención) el 14/10/2015 02:15:22
EL ERROR DICE:

the seleccion cannot be launched, and there are no recent launches.

AQUI ESTA EL CODIGO:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
public class ClasePrincipal {
 
 
public static void main(String[] args, double A, int N, char C, int n1, char c1, double a1) {
definiciones D = new definiciones();
impresiones I = new impresiones();
 
D.envios( N, C, A);
I.imprimir(N, C, A);
}
 
}
public class definiciones {
private int n=0;
private char c= y ;
private double a= 7896.98;
 
public void envios(int N, char C, double A ){
N=n;
C=c;
A=a;
}
}
 
public class impresiones {
public void imprimir(int n1, char c1, double a1){
 
System.out.println("Estos son los valores solicitados");
 
System.out.println(n1);
System.out.println(c1);
System.out.println(a1);
}
}
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder