0% found this document useful (0 votes)
46 views1 page

Java Important Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views1 page

Java Important Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

IMPORTANT QUESTIONS

Unit-I

1. What are the different OOP features? Explain.


2. Explain Method Overriding with a suitable example.
3. Explain all Java Buzzwords in brief.
4. Write a program for explaining Dynamic Method Dispatch.

Unit-II

1. Define a package. Write a program to create and import a package.


2. What is an Exception? Explain all exception keywords with an example. Write a program for
illustrating user defined exceptions
3. Define an interface. Write an example to illustrate Multiple inheritance using interfaces.

Unit-III

1. Write two java program for creating of threads.


2. Explain about generics with suitable examples.
3. Explain thread synchronization using synchronization keyword.
4. Explain Serialization and Deserialization with suitable example.
5. Write a program for copying the contents of one file to another.

Unit-IV

1. Write in detail about Collection Algorithms.


2. Explain in detail about ArrayList and LinkedList classes.
3. What are the different Legacy classes? Explain.
4. Explain a)StringTokenizer b) Random classes.

Unit-V

1. Define Delegation Event Model. Write a Java Program to handle key and Mouse Events.
2. What is an Applet? With a neat diagram explain Applet Life Cycle. Write an applet program
passing parameters.
3. What is the significance of layout managers? Discuss briefly various layout managers.
4. Differentiate between AWT and Swings

You might also like