a) In context of multithreading systems, explain the importance of multithreading and using java…

a) In context of multithreading systems, explain the importance of multithreading and using java…

a) In context of multithreading systems, explain the importance of multithreading and using
java write a program that creates a thread which runs concurrently with the main thread.
Allow the thread to loop twice as fast as the main. [10 marks]
b) Explain the following AWT Layout Managers classes: [4 marks]
i. FlowLayout
ii. GridLayout
iii. BorderLayout
iv. CardLayout