IA3_Question Bank-1
IA3_Question Bank-1
Module -5
1. Make use of multitasking concepts explain multithreading concepts in Java
with creating thread object and getting the current thread name.
2. Make use of multithreading, explain the method of creating subclass thread(child thread
class) and mention the major methods of Thread class and its usage.
3. Make use of Runnable interface create child thread class and create multiple
threads in main method.
4. Make use of Thread class, create child thread class and create multiple threads
in main method.
5. Make use of Synchronization concepts, explain how multiple thread executions
are synchronized in JAVA. Explain both synchronized block and synchronized
method.
6. Make use of multithreading concept write a program to create two thread
classes for carrying out two different tasks in run method(may be Factorial
calculation, and Fibonacci number generation with multiple threads).
7. Make use of multithreading, explain the method of creating subclass
thread(child thread class) and mention the major methods of Thread class and
its usage.
8. Discuss the concept of Monitor in Java multithreading.
9. Demonstrate role of synchronization using simple java program.
10.Demonstrate role of synchronization using Consumer and Producer problem.
11.Demonstrate inter-thread communication in Java with an example.
12.Build a Java program to create an enum called Daysofweek representing the
days of the week.
13.Build a Java program using isAlive() and join() methods.
14.Make use of enumeration concept, write a constructor and user defined
functions in enum class and print its value.
15.Make use of wrappers class concept explain different types of wrapper classes
in Java. Also explain Autoboxing and Unboxing concepts.
16. Demonstrate values() and valueOf() methods in Enumerations with suitable
examples.