/**********************************************************************
 * Build a multiplication table
 * Instance User Class 
 *********************************************************************/

public class MultplyUse
{
    public static void main(String[ ] args)
    {
        int row = Multply.getRandom(1,10);          //call the random() static method of the Multply class       
        int col = Multply.getRandom(1,10);                 

        Multply obj1 = new Multply(10,10);          //instantiate an object of Multply class   
        obj1.table();                               //call the table() instance method for that object

        System.out.println("--------");   
        
        Multply obj2 = new Multply(row,col);        //instantiate another object of Multply class
        obj2.table();                               //call the table() instance method for that object
    }   
}