MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import java.net.MalformedURLException;
import java.net.URL;

public class MainClass {

    public static void main(String[] args) throws MalformedURLException {
        URL u = new URL("http://www.java2s.com");
        System.out.printf("BOOLEAN:   %B\n", u);

    }
}