So I'm very new to programming and just trying to instantiate a class in another class, but i keep getting an error that says: Cannot Resolve Symbol. Could someone tell me which area the problem lies in?
My First Class looks like this:
public class Triangle
{
    public static void main(String[] args)
    {
    }
    public static void Draw (int num)
    {
        System.out.print("*");
    }
}
The second looks like this:
public class Lab01
{
    public static void main(String[] args)
    {
           Triangle obj2 = new Triangle.Draw(5);
    }
}
Thanks in advance
 
     
     
    