---
# System prepended metadata

title: 'NKST:'
tags: [Java, ' 101']

---

---
tags: Java, 101,
---
# NKST:



## :memo: Todo List

### 1: Setting

Java enviorment variable: https://www.kjnotes.com/devtools/35



### 2: Start IDE `intelliJ`

https://www.jetbrains.com/idea/


### 3: Run "Hello World!"

```java=
public class HelloWorld
{
   public static void main(String[] args)
   {
      System.out.println("Hello World!");
   }
}
```

### 4: Let's see the code directly!

```java=
public class Average {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5, 6, 7 , 8, 9, 10};
        int result = (arr[0] + arr[arr.length - 1])* arr.length / 2;
        System.out.println(result);
    }
}

```
### 5: What is git?
https://gitbook.tw/chapters/introduction/what-is-git.html

### 6: Register a Github account!

https://github.com

### 7: How to use git?

https://git-scm.com/download/win

git --version


### 8: Push your first commit!
###### git commit -m "This is my first commit"
###### git config --global user.email "email@example.com"
###### git config --global user.name "myname"
###### git commit -m "This is my first commit"
###### git add .
###### git commit -m "This is my first commit"
###### git push


