Q1(a). Write java program to find simple interest on a Saving Account. Define appropriate class, constructor and methods in your program. Make necessary assumptions.
Q1(b). Write a java program to create two threads and using setName method assign name to them also using setPriority method assign priority to those threads. Make necessary assumptions.
Q2(a). Write a program in java to store a given paragraph in a text file. Make suitable provisions of
exceptions handling in your program.
Q(b). Create an applet which take a number as input and display whether it is prime number or not.
Use appropriate components, layout and formatting in your program.