pract2

15
"PRACTICA 2 NETBEANS 7.2" 3° "AM" PROGRAMACIÓN NAVA DEL ANGEL JOSE DE JESUS MOCTEZUMA RUIZ LEONARDO DANIEL PROFESORA: MARGARITA ROMERO ALVARADO CETIS109

Upload: leonardo-moctezuma

Post on 12-Feb-2017

70 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Pract2

"PRACTICA 2 NETBEANS 7.2"

3° "AM"

PROGRAMACIÓN

NAVA DEL ANGEL JOSE DE JESUS

MOCTEZUMA RUIZ LEONARDO DANIEL

PROFESORA: MARGARITA ROMERO ALVARADO

CETIS109

Page 2: Pract2

Abrimos La aplicación Netbeans 7.2.1

Page 3: Pract2

ESPERAMOS A QUE ABRA EL PROGRAMA

Page 4: Pract2

Seleccionamos "New Project"

Page 5: Pract2

LE DAMOS EN:Categoria – Java Y DESPUES Next

Page 6: Pract2

EN ESTE ESPACIO LE ASIGNAMOS EL NOMBRE QUE QUERAMOSEN ESTE CASO SERA "PRACTICA1"

YA QUE PUSIMOS EL NOMBRE LE DAMOS FINISH

Page 7: Pract2

YA QUE ABRIO SALDRA ESTA PAGINA

Page 8: Pract2

DEJAMOS LO PRIMERO COMO ESTA Y EN DONDE DICE "@AUTHOR" LE PONEMOS NUESTRO NOMBRE

Page 9: Pract2

Ponemos "byte edad= 0;"

Ojo:Tiene que ser en minuscula

Page 10: Pract2

Le damos clic a la siguiente fila y escribimos "System.out.println("mi edad es: "+ edad);

Page 11: Pract2

Ahora insertamos el dato "Short añoDeNacimiento=1985;"

Page 12: Pract2

Insertar imprimir pantalla"System.ou.printl(mi fecha de nacimiento es: " + añodenacimiento)"

Page 13: Pract2

Ahora insertamos el dato "Int numDocumento=1234567;"

Page 14: Pract2

Insertar imprimir pantalla"System.ou.printl(mi numero de documento es: " + numDocumento)"

Page 15: Pract2

Por ultimo corremos el programa