lOMoARcPSD|39099367
UNIT-3 EXCEPTION HANDLING AND MULTITHREADING
PART-A QUESTIONS (2 MARKS)
1.What is Exception?Give example
2.What are stack trace Elements?
3.What is compile time and run time
errors?
4.What is the use of try, catch keywords?
5.What is the difference between throw and throws?
6. What is ArrayindexOutOfBounds Exception?
7. What is the need of multiple catch?
8. What is Wrappers? 9.
Sketch life cycle of thread?
10. What is thread?
11.What is Auto boxing?
12.Define multithreading.
13.What is interthread communicatiom?
14.What is resuming?
15.Define suspending.
PART-B QUESTIONS (15 MARKS)
1. Explain different types of exception in java.
2. With suitable java program explain user defined exception handling.
3.What is thread? Explain its states and methods.
4. Write the example java program for multithreading and Autoboxing.
5. Explain the concept of priorities and synchronizing with example java
program.
lOMoARcPSD|39099367
UNIT 4 I/O,GENERICS,STRING HANDLING
PART-A QUESTIONS(2 MARKS)
1.What is character stream?
2.What is Stream?
3.Define Byte stream in java.
4.What is mean by filter stream?
5.What is Generic Method?
6.Define Generic classes in java.
7.Define string Buffer Class.
8. What is Byte Stream?
9. What is input stream and output stream in java?
10.Write a syntax for Reading and Writing files in java?
11.What is Bounded Types in java?
12.Define String class.
13.What is Restrictions?
14.Define String Buffer class in java.
15.What an I/O filter?
PART-B QUESTIONS (15 MARKS)
1. Explain streams and I/O with Examples in java.
2. Write a java program to demonstrate how to read and write data to a
file. 3.Explain in detail about Generic classes and methods with examples.
4. Write short note on Restrictions and limitations.
5.Explain string Buffer class with Example program?
lOMoARcPSD|39099367
UNIT 5 JAVAFX EVENT HANDLING,CONTROLS AND
COMPONENTS
PART-A QUESTIONS (2 MARKS)
1.Difference between swing and AWT?)
2.What is Scroll bar?
3.What is the difference between scroll bar and scroll pane?
4.What is Choice and list?
5.What is the purpose of the enableEvents() method?
6.What class is the top of the AWT Event?
7. Define Events?
8. How can I create my own GUI components?
9.What is an Event Listener?
10.What is Border pane?
11.Write note on tree in Swings?
12.What is the uses of Layout managers in swing?
13.Define Grid pane.
14.Define Stack pane.
15.What is Listener?
PART-B QUESTIONS (15 MARKS)
1.Compare check boxes and radio buttons with Example program.
2.Create a program to use of Border Layouts.
3. Write a program to use Radio buttons.
4. Explain Menu bars and menu items with example program?
5.Explain HBox and VBox with Example program?