Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.awt.Point;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;

public class Main {
    public static void main(String[] args) throws Exception {
        Shape s = new Rectangle2D.Double(0, 0, 72, 72);

        System.out.println(s.contains(30, 40, 40, 40));
    }

}