Professional Documents
Culture Documents
JAVA Unit Wise Imp Questions
JAVA Unit Wise Imp Questions
Part –A
Part –A-7M
Part –B(Short)
Part –A-7M
1. What is a Applet? Explain the Applet Life Cycle.
2. Explain the process of Creating Applet.
3. How to pass parameters in Applets. Explain with Example
4. Explain Applet Methods.
5. Write an Applet program to draw a String, Rectangle, Oval and Arc using Applet Methods.
Part –A-7M
Part –B(Short)
1. What is difference b/w IO and NIO File.
2. What is difference b/w Blocking IO and Non-Blocking IO
3. What is difference b/w Stream oriented and Buffer oriented
4. Define Exception?
5. Distinguish between exception and error?
6. Write benefits of exception handling
Part –c(Programs)
1. Write a program to read all Lines in a file into List.
2. Write a program write all Lines in a file from a list..
Part –A-7M
1. With the help of an example program explain how you handle all mouse related events?
2. With the help of an example program explain how you handle all Keyboard related
events?
3. Explain the following with example
a. Drawing Rectangle
b. Drawing Oval
c. Drawing Arcs
4. What is an Adapter Class? Describe various adapter classes in detail.
5. How can we use Adapter Class to make programming the handling of events easier.
Give example.
Note: