Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.net.URI;

public class Main {

    public static void main(String[] args) {
        URI uri = URI.create("http://java2s.com/query.php?name=value");
        System.out.println(uri.getUserInfo());
    }
}