Baixe o app para aproveitar ainda mais
Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original
Lista 2 Java/Exercicio1/build.xml Builds, tests, and runs the project Exercicio1. Lista 2 Java/Exercicio1/build/classes/.netbeans_automatic_build Lista 2 Java/Exercicio1/build/classes/.netbeans_update_resources Lista 2 Java/Exercicio1/build/classes/exercicio1/Exercicio1.class Lista 2 Java/Exercicio1/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Lista 2 Java/Exercicio1/nbproject/build-impl.xml Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar Must set javac.includes No tests executed. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent Must select some files in the IDE or set javac.includes To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}" Must select one file in the IDE or set run.class Must select one file in the IDE or set run.class Must select one file in the IDE or set debug.class Must select one file in the IDE or set debug.class Must set fix.includes This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set profile.class This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set run.class Must select some files in the IDE or set test.includes Must select one file in the IDE or set run.class Must select one file in the IDE or set applet.url Must select some files in the IDE or set javac.includes Some tests failed; see details above. Must select some files in the IDE or set test.includes Some tests failed; see details above. Must select some files in the IDE or set test.class Must select some method in the IDE or set test.method Some tests failed; see details above. Must select one file in the IDE or set test.class Must select one file in the IDE or set test.class Must select some method in the IDE or set test.method Must select one file in the IDE or set applet.url Must select one file in the IDE or set applet.url Lista 2 Java/Exercicio1/nbproject/genfiles.properties build.xml.data.CRC32=e37dd02a build.xml.script.CRC32=14aa222d build.xml.stylesheet.CRC32=8064a381@1.80.1.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=e37dd02a nbproject/build-impl.xml.script.CRC32=4e5d016b nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 Lista 2 Java/Exercicio1/nbproject/private/private.properties compile.on.save=true user.properties.file=C:\\Users\\cliente\\AppData\\Roaming\\NetBeans\\8.2\\build.properties Lista 2 Java/Exercicio1/nbproject/private/private.xml file:/C:/Users/cliente/Desktop/Lista%202%20Java/Exercicio1/src/exercicio1/Exercicio1.java Lista 2 Java/Exercicio1/nbproject/project.properties annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processor.options= annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output build.classes.dir=${build.dir}/classes build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results # Uncomment to specify the preferred debugger connection transport: #debug.transport=dt_socket debug.classpath=\ ${run.classpath} debug.test.classpath=\ ${run.test.classpath} # Os arquivos em build.classes.dir que devem ser exclu\u00eddos do jar de distribui\u00e7\u00e3o dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist dist.jar=${dist.dir}/Exercicio1.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.external.vm=true javac.processorpath=\ ${javac.classpath} javac.source=1.8 javac.target=1.8 javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir} javac.test.processorpath=\ ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= main.class=exercicio1.Exercicio1 manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false platform.active=default_platform run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys-prop.name=value: run.jvmargs= run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 src.dir=src test.src.dir=test Lista 2 Java/Exercicio1/nbproject/project.xml org.netbeans.modules.java.j2seproject Exercicio1 Lista 2 Java/Exercicio1/src/exercicio1/Exercicio1.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package exercicio1; //classe que possibilita leitura de conteúdo inserido pelo usuário import java.util.Scanner; /** * * @author cliente */ public class Exercicio1 { /** * @param args the command line arguments */ //Igor Cesar Sena Pereira - ADS 371 - 1540319 //1. Armazenar seis valores em uma matriz de ordem 2x3. Apresentar os valores na tela. public static void main(String[] args) { // TODO code application logic here //Declaração de variáveis int [][] matr = new int [2] [3]; //Classe instanciada que possibilita a leitura Scanner lendo = new Scanner(System.in); //RECEBENDO OS 6 VALORES for (int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { System.out.println("Insira os valores: "); matr[i][j] = lendo.nextInt(); } } System.out.println("\nA Matriz ficou: \n"); //exibindo matriz for(int i=0 ; i < 2 ; i++) { for(int j = 0; j < 3 ; j ++) { System.out.printf("\t %d \t",matr[i][j]); } System.out.println(); } }//fimMain }//fimClass Lista 2 Java/Exercicio2/build.xml Builds, tests, and runs the project Exercicio2. Lista 2 Java/Exercicio2/build/classes/.netbeans_automatic_build Lista 2 Java/Exercicio2/build/classes/.netbeans_update_resources Lista 2 Java/Exercicio2/build/classes/exercicio2/Exercicio2.class Lista 2 Java/Exercicio2/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Lista 2 Java/Exercicio2/nbproject/build-impl.xml Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar Must set javac.includes No tests executed. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent Must select some files in the IDE or set javac.includes To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}" Must select one file in the IDE or set run.class Must select one file in the IDE or set run.class Must select one file in the IDE or set debug.class Must select one file in the IDE or set debug.class Must set fix.includes This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set profile.class This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set run.class Must select some files in the IDE or set test.includes Must select one file in the IDE or set run.class Must select one file in the IDE or set applet.url Must select some files in the IDE or set javac.includes Some tests failed; see details above. Must select some files in the IDE or set test.includes Some tests failed; see details above. Must select some files in the IDE or set test.class Must select some method in the IDE or set test.method Some tests failed; see details above. Must select one file in the IDE or set test.class Must select one file in the IDE or set test.class Must select some method in the IDE or set test.method Must select one file in the IDE or set applet.url Must select one file in the IDE or set applet.url Lista 2 Java/Exercicio2/nbproject/genfiles.properties build.xml.data.CRC32=fb494440 build.xml.script.CRC32=66e7a154 build.xml.stylesheet.CRC32=8064a381@1.80.1.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=fb494440 nbproject/build-impl.xml.script.CRC32=7823ac2b nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 Lista 2 Java/Exercicio2/nbproject/private/private.properties compile.on.save=true user.properties.file=C:\\Users\\cliente\\AppData\\Roaming\\NetBeans\\8.2\\build.properties Lista 2 Java/Exercicio2/nbproject/private/private.xml file:/C:/Users/cliente/Desktop/Lista%202%20Java/Exercicio2/src/exercicio2/Exercicio2.java Lista 2 Java/Exercicio2/nbproject/project.properties annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processor.options= annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output build.classes.dir=${build.dir}/classes build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results # Uncomment to specify the preferred debugger connection transport: #debug.transport=dt_socket debug.classpath=\ ${run.classpath} debug.test.classpath=\ ${run.test.classpath} # Os arquivos em build.classes.dir que devem ser exclu\u00eddos do jar de distribui\u00e7\u00e3o dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist dist.jar=${dist.dir}/Exercicio2.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.external.vm=true javac.processorpath=\ ${javac.classpath} javac.source=1.8 javac.target=1.8 javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir} javac.test.processorpath=\ ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= main.class=exercicio2.Exercicio2 manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false platform.active=default_platform run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys-prop.name=value: run.jvmargs= run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 src.dir=src test.src.dir=test Lista 2 Java/Exercicio2/nbproject/project.xml org.netbeans.modules.java.j2seproject Exercicio2 Lista 2 Java/Exercicio2/src/exercicio2/Exercicio2.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package exercicio2; //classe que possibilita leitura de conteúdo inserido pelo usuário import java.util.Scanner; /** * * @author cliente */ public class Exercicio2 { /** * @param args the command line arguments */ //Igor Cesar Sena Pereira - ADS 371 - 1540319 //2. Armazenar seis valores em uma matriz de ordem 3x2. Apresentar os valores na tela. public static void main(String[] args) { // TODO code application logic here //Declaração de variáveis int [][] matr = new int [3] [2]; //Classe instanciada que possibilita a leitura Scanner lendo = new Scanner(System.in); //RECEBENDO OS 6 VALORES //lINHA for (int i = 0; i < 3; i++) { //coluna for (int j = 0; j < 2; j++) { System.out.println("Insira os valores: "); matr[i][j] = lendo.nextInt(); } } System.out.println("\nA Matriz ficou: \n"); //exibindo matriz for(int i=0 ; i < 3 ; i++) { for(int j = 0; j < 2 ; j ++) { System.out.printf("\t %d \t", matr[i][j]); } System.out.println(); } }//FimMain }//FimClass Lista 2 Java/Exercicio3/build.xml Builds, tests, and runs the project Exercicio3. Lista 2 Java/Exercicio3/build/classes/.netbeans_automatic_build Lista 2 Java/Exercicio3/build/classes/.netbeans_update_resources Lista 2 Java/Exercicio3/build/classes/exercicio3/Exercicio3.class Lista 2 Java/Exercicio3/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Lista 2 Java/Exercicio3/nbproject/build-impl.xml Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar Must set javac.includes No tests executed. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent Must select some files in the IDE or set javac.includes To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}" Must select one file in the IDE or set run.class Must select one file in the IDE or set run.class Must select one file in the IDE or set debug.class Must select one file in the IDE or set debug.class Must set fix.includes This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set profile.class This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set run.class Must select some files in the IDE or set test.includes Must select one file in the IDE or set run.class Must select one file in the IDE or set applet.url Must select some files in the IDE or set javac.includes Some tests failed; see details above. Must select some files in the IDE or set test.includes Some tests failed; see details above. Must select some files in the IDE or set test.class Must select some method in the IDE or set test.method Some tests failed; see details above. Must select one file in the IDE or set test.class Must select one file in the IDE or set test.class Must select some method in the IDE or set test.method Must select one file in the IDE or set applet.url Must select one file in the IDE or set applet.url Lista 2 Java/Exercicio3/nbproject/genfiles.properties build.xml.data.CRC32=f35ac866 build.xml.script.CRC32=48dcdf83 build.xml.stylesheet.CRC32=8064a381@1.80.1.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=f35ac866 nbproject/build-impl.xml.script.CRC32=6a09c8eb nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 Lista 2 Java/Exercicio3/nbproject/private/private.properties compile.on.save=true user.properties.file=C:\\Users\\cliente\\AppData\\Roaming\\NetBeans\\8.2\\build.properties Lista 2 Java/Exercicio3/nbproject/private/private.xml file:/C:/Users/cliente/Desktop/Lista%202%20Java/Exercicio3/src/exercicio3/Exercicio3.java Lista 2 Java/Exercicio3/nbproject/project.properties annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processor.options= annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output build.classes.dir=${build.dir}/classes build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results # Uncomment to specify the preferred debugger connection transport: #debug.transport=dt_socket debug.classpath=\ ${run.classpath} debug.test.classpath=\ ${run.test.classpath} # Os arquivos em build.classes.dir que devem ser exclu\u00eddos do jar de distribui\u00e7\u00e3o dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist dist.jar=${dist.dir}/Exercicio3.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.external.vm=true javac.processorpath=\ ${javac.classpath} javac.source=1.8 javac.target=1.8 javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir} javac.test.processorpath=\ ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= main.class=exercicio3.Exercicio3 manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false platform.active=default_platform run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys-prop.name=value: run.jvmargs= run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 src.dir=src test.src.dir=test Lista 2 Java/Exercicio3/nbproject/project.xml org.netbeans.modules.java.j2seproject Exercicio3 Lista 2 Java/Exercicio3/src/exercicio3/Exercicio3.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package exercicio3; //classe que possibilita leitura de conteúdo inserido pelo usuário import java.util.Scanner; /** * * @author cliente */ public class Exercicio3 { /** * @param args the command line arguments */ //Igor Cesar Sena Pereira - ADS 371 - 1540319 //3. Armazenar seis nomes em uma matriz de ordem 2x3. Apresentar os nomes na tela. public static void main(String[] args) { // TODO code application logic here //Declaração de variáveis String [][] matr = new String [2][3]; //Classe instanciada que possibilita a leitura Scanner lendo = new Scanner(System.in); //RECEBENDO OS 6 nomes for (int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { System.out.println("Insira os nomes: "); matr[i][j] = lendo.nextLine(); } } System.out.println("\nA Matriz ficou: \n"); //exibindo matriz for(int i=0 ; i < 2 ; i++) { for(int j = 0; j < 3 ; j ++) { System.out.printf(matr[i][j]); } System.out.println(); } } } Lista 2 Java/Exercicio4/build.xml Builds, tests, and runs the project Exercicio4. Lista 2 Java/Exercicio4/build/classes/.netbeans_automatic_build Lista 2 Java/Exercicio4/build/classes/.netbeans_update_resources Lista 2 Java/Exercicio4/build/classes/exercicio4/Exercicio4.class Lista 2 Java/Exercicio4/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Lista 2 Java/Exercicio4/nbproject/build-impl.xml Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar Must set javac.includes No tests executed.
Compartilhar