HKE Society’s PDA COLLEGE OF ENGINEERING, KALABURAGI
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE
LEARNING
APPLICATION DEVELOPMENT USING JAVA
Question Bank
Module III
1. Analyse the importance of packages and develop a java program that demonstrate the
process to import classes from different packages
2. What are exceptions? Mention different types of dynamic exception
3. Develop a java program that explain the importance of try and catch statements in
handling exceptions
4. With example explain the importance of try and multiple catch statements in handling
different run time exceptions
5. Develop a java program that demonstrate the working of java built in exceptions
6. Explain how multiple interfaced are implemented and interfaces can be extended with
suitable example
7. Define exception handling. Explain the general form of the try/catch
8. Develop a java program to demonstrate the use of multiple catch clauses
9. Illustrate how packages can be imported with an example
10. Enlist and explain java’s built-in exceptions along with their meaning
11. What is package? How do you define packages? How do you import packages? Explain
with examples
12. What is exception? Explain exception handling in java
13. Explain nesting try block with an example
14. Write a java program to create package named Shape create some classes in the package
representing common shapes like Square, Triangle and Circle import and compile these
classes in other program
Module IV
1. Mention two event handling mechanism and with a neat sketch explain the delegation event
mode
2. Explain the source of events and illustrate the role of listener interfaces
3. What are multithreading? Implement multithread using runnable interface and by extending
threads
4. With a program explain the different methods that brings the threads to the blocking state
5. With java program explain how to prioritize the threads
6. With a Diagram explain the thread life cycle
7. Define a thread. Discuss the two ways of creating a thread with example
8. Explain synchronized methods and synchronized statements with example
9. Illustrate the use of wait(), notify(), notifyall() , isAlive(), join() methods
10. Develop a java program to demonstrate how synchronize multiple methods
11. Describe synchronized statements Explain how interthread communication can be
achieved in multithreading