Ejercicios POO

download Ejercicios POO

If you can't read please download the document

description

java io

Transcript of Ejercicios POO

1. LECTURA DE UN VECTOR POR TECLADO2. LECTURA VECTOR ALEATORIO3. ORDENAMIENTO DE UN VECTOR. MTODO LINEAL4. ORDENAMIENTO DE UN VECTOR. MTODO BURBUJA5. BSQUEDA DE UN ELEMENTO EN UN VECTOR ORDENADO. MTODO SECUENCIAL6. BSQUEDA DE UN ELEMENTO EN UN VECTOR ORDENADO. MTODO BINARIA7. IMPLEMENTACIN DE CLASES QUE ADMINISTRAN ARREGLOS8. USO DE UN OBJETO STRINGBUFFER PARA LA PRESENTACIN DE UN VECTOR.9. INVERTIR UN ARREGLO10. PROGRAMA LECTURA Y ESCRITURA DE MATRICES11. PROGRAMA SUMA DE DIAGONALES Y TRANSVERSALES 12.DIAGONAL13. INVENTARIO15. PARQUEADEROAdiosMundo.html Aparte de las etiquetas que marcan el comienzo y el fin del documento HTML y del cuerpo del mismo vemos la etiqueta APPLET, que es la encargada de llamar a estas pequeas aplicaciones. Vemos que el parmetro CODE define la clase resultante de compilar el applet y que los parmetros WIDTH y HEIGHT definen el tamao del rectngulo donde se va a meter el mismo.Si guardamos el archivo anterior como AdiosMundo.html, para ver el applet deberamos ejecutar:appletviewer AdiosMundo.html