MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import java.net.URLEncoder;

public class MainClass {

    public static void main(String[] args) throws Exception {
        System.out.println(URLEncoder.encode("A/B/C/", "UTF-8"));

    }
}