zoukankan      html  css  js  c++  java
  • 20169204,exp1:Familiar with the Java development environment(Linux+IDEA)

    20169204 exp1:<Familiar with the Java development environment(Linux+IDEA)>

    Experimental content and steps

    • Use JDK to compile and run a simple Java program

    Run the virtual machine, open the linux system;
    Go to the code cloud home page and clone your own project. git clone https://git.oschina.net/md2017/GoldDog20169204.git

    Enter the project directory using the command to create the folder exp1,

    • mkdir exp1
      Enter the folder after the establishment of .java file,write the program. Compile and run:
    • cd exp1
    • gredit Hello.java

    Use IDEA to edit, compile, run, debug Java programs:

    • Open the IDEA, creat a project and write the program

    compire and run it, the result is:

    Exercise 5: To achieve the correct integer 1-N between all the prime number of the function, and test.

    • experiment procedure
      At first , we order N = 100.
      Code:

    operation result:

    If you need to enter a natural number to output prime numbers, see the following code:

    Problem and Solution in the experiment

    How do I re-include a class into the build path in Intellij IDEA?

    • Deal

    EDIT: Figured it out myself. Go to Settings>Project Settings>Compiler>Excludes and delete the entry

    Code hosting

    Experimental summary

    step time consuming percentage
    Demand Analysis 20 15
    Design 30 3/4
    Code 60 3/4
    Test 10 4/6
    Analyzed 30 6/6
  • 相关阅读:
    一行转多行 及多行转一行的 hive语句
    sparkSQL、dataframe
    特征工程
    python相关
    pyspark dataframe 格式数据输入 做逻辑回归
    hive sql 随机抽样
    pyspark 逻辑回归程序
    3.27模拟赛
    luogu P3217 [HNOI2011]数矩形
    bzoj 4403 序列统计
  • 原文地址:https://www.cnblogs.com/GoldDog/p/6721287.html
Copyright © 2011-2022 走看看