Input/Output: The Standard Draw Class

Create a new folder in your Java folder, Unit_2.

Create a new project in Unit_2, InputOutput or InOut

Add the available StdLib classes to your project via the Edit tab, drag them or create them in your project.

Your project you look like this:

Let’s test our project with this program:

NOTE: include documentation and attach the image (screenshot)

/**
 * Write a description of class Triangle here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Triangle
{
    public static void main(String args[])
    {
        StdDraw.line(0,0,.1,.1);
        StdDraw.line(0,0,0,1);
        StdDraw.line(0,0,1,0);
    }
}