Introduction - If you have any usage issues, please Google them yourself
Using your answer from Question 1. Write one new class named PatternsA that contains two
methods:
i. public void printPattern1() – this method should print pattern1.
ii. public void printPattern2() – this method should print pattern2.
The main method of this class should create an instance of the class and then call each new method you
have created in turn. Before each method you should print the name of the method that is about to be
called.