Question Bank _ JAVA Programming(IT)
Question Bank _ JAVA Programming(IT)
(Autonomous)
Question Bank- Java Programming
Unit-I
Unit- II
1. Define an Exception and an Error?
2. Describe Exception and its types with an example .
3. Explain exception handling keywords in java.
4. Explain about try and catch block with program.
5. Differentiate between throw and throws keyword.
6. Explain Filtered byte stream?
7. Define collections in java.
8. Explain the purpose of finally keyword.
9. Explain any three RandomAccessFile Class Methods
Unit-III
1. Define package? Explain how to set classpath?
2. Explain about access specifiers.
3. Explain about sorting in collection.
4. Differentiate Comparable & Comparator operator.
5. How to access, import a package? Explain with examples.
6. Explain String tokenizer class with its methods.
7. Explain Array List with example.
8. Explain java random class with few methods
Unit-IV
1. Explain sleep method with program.
2. Describe about inter thread communication.
3. Explain about thread priorities in java.
4. What is JDBC illustrate with an example.
5. Explain the life cycle of a thread.
6. Explain types of JDBC drivers.
7. What are the main classes and interfaces of JDBC.
8. Explain creation of thread using runnable interface with an example.
9. How do we set priorities for threads? Construct a java program to explain thread
priorities usage.
Unit-V
1. Explain the adapter classes with example?
2. What are the limitations of AWT.
3. Explain about MVC architecture in java.
4. What is event handling in java? List out the available event classes and listener
interfaces with suitable example?
5. Differentiate between Swing and AWT.
6. Explain the swing concepts with example program?
7. Explain about JButton.
8. What are the subclasses of JButton class of swing package?
9. What is the significance of Layout managers? Discuss briefly various layout
managers.
10. Define some of swing components?