Ask a user to enter two numbers. Write a program to print multiplication tables of these entered numbers. Each number whose table is to be printed should be a thread instance of different thread class. Thus, you will create two classes thread_one and thread_two to print the tables n and m respectively. Create a class named Table which will have static method named printable which will take parameter n for printing its table. You have to make the thread sleep for 500 milliseconds to print the table.

Respuesta :

Otras preguntas