Patterns with different methods to draw triangle, rectangle, square using " * "
DesignPattern.java file is the main file. DesignPattern.class file the main class file or in class main methode has been used . no need to open class files , it is autogenarated . make sure to give same file name as main class .