Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] arguments) {
        String input = "12%12%%12";

        String[] piece = input.split("[-/%]");
        for (int j = 0; j < piece.length; j++)
            System.out.println(piece[j] + "\t");
    }
}