Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        int[] integer = new int[10];
        System.out.println(Arrays.toString(integer));
        Arrays.fill(integer, 1, 4, 5);
        System.out.println(Arrays.toString(integer));
    }
}