Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.net.URLEncoder;

public class Main {
    public static void main(String[] argv) throws Exception {
        String line = URLEncoder.encode("na me1", "UTF-8") + "=" + URLEncoder.encode("v&al|ue1", "UTF-8");

        System.out.println(line);
    }
}