<commit_before>---
layout: post
title: JAVA FAST TRACK
author: <NAME>
category: Java
---
![gorge]({{ site.baseurl }}\img\columbiagorge.png)

A programming language is like our second language. If you does not use it for
a while, then it will disapear from our memory. The best way is to
practice it by writing code snippets everyday.


<!--description-->

## FILES
---
In Java Programming Lanaguge, File operations relates to
[java.io.File](https://docs.oracle.com/javase/7/docs/api/java/io/File.html)
class.

### create

We can create a file by using
[createNewFile()](https://docs.oracle.com/javase/7/docs/api/java/io/File.html#createNewFile())
method. A code snippet shows how to create a file.

```java
//Create a file by using createNewFile() method
public static void CreateFile(String fileName){
  try{
    File file = new File(fileName);
    if(file.createNewFile()){
      System.out.println("Success create "+fileName);
    }else{
      System.out.println("Failed create"+fileName);
    }
  }catch(IOException e){
    e.printStackTrace();
  }
}
```
### read

### update

### delete<commit_msg>update Java Fast Track<commit_after>---
layout: post
title: JAVA FAST TRACK
author: <NAME>
category: Java
---
![gorge]({{ site.baseurl }}\img\columbiagorge.png)

A programming language is like our second language. If you does not use it for
a while, then it will disapear from our memory. The best way is to
practice it by writing code snippets everyday.


<!--description-->

## FILES
---
In Java Programming Lanaguge, File operations relates to
[java.io.File](https://docs.oracle.com/javase/7/docs/api/java/io/File.html)
class.

### create

We can create a file by using
[createNewFile()](https://docs.oracle.com/javase/7/docs/api/java/io/File.html#createNewFile())
method. A code snippet shows how to create a file.

```java
//Create a file by using createNewFile() method
public static void CreateFile(String fileName){
  try{
    File file = new File(fileName);
    if(file.createNewFile()){
      System.out.println("Success create "+fileName);
    }else{
      System.out.println("Failed create"+fileName);
    }
  }catch(IOException e){
    e.printStackTrace();
  }
}
```

### read

### update

### delete
{'fraction_non_alphanumeric': 0.13898916967509026, 'fraction_numerical': 0.0018050541516245488, 'mean_word_length': 3.8300653594771243, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '954985', 'n_tokens_mistral': 715, 'n_tokens_neox': 692, 'n_words': 226}