Download - Practica2 Julio
Transcript
![Page 1: Practica2 Julio](https://reader035.vdocuments.pub/reader035/viewer/2022062412/587f38c81a28ab121d8b7715/html5/thumbnails/1.jpg)
MAESTRA: MARGARITA ROMERO ALVARADO
ALUMNO: JOSÉ JULIO OLVERA RUBIO
PRACTICA 2
![Page 2: Practica2 Julio](https://reader035.vdocuments.pub/reader035/viewer/2022062412/587f38c81a28ab121d8b7715/html5/thumbnails/2.jpg)
1.- Abrir el programa NetBeans desde nuestro escritorio
![Page 3: Practica2 Julio](https://reader035.vdocuments.pub/reader035/viewer/2022062412/587f38c81a28ab121d8b7715/html5/thumbnails/3.jpg)
2.- El programa abrira la pagina principal
![Page 4: Practica2 Julio](https://reader035.vdocuments.pub/reader035/viewer/2022062412/587f38c81a28ab121d8b7715/html5/thumbnails/4.jpg)
3.- Seleccionas File y luego New
Project
![Page 5: Practica2 Julio](https://reader035.vdocuments.pub/reader035/viewer/2022062412/587f38c81a28ab121d8b7715/html5/thumbnails/5.jpg)
4.- Te aparecerá una ventana, seleccionas la
carpeta Java y luego Java Aplications
![Page 6: Practica2 Julio](https://reader035.vdocuments.pub/reader035/viewer/2022062412/587f38c81a28ab121d8b7715/html5/thumbnails/6.jpg)
5.- De bajo de Public static escribes el tipo de dato en este caso utilizamos los 4 tipos: byte, short, int, long
6.- Introducimos la variable a cada tipo de dato: Edad,añodenacimiento, numdocumento y tarjCredito
7.- Escribes la sentencia «System.out.println»
8.-Escribes La Instrucción para cada sentencia como en la practica 1
9.- Por ultimo corres el programa
Tipo de datos y variables
Sentencias e instrucción