You are on page 1of 3

Unit I

Short questions
1. Explain about abstract class?
2. State the features of object oriented programming?
3. Define Object Oriented Programming?
4. Define Object and how to allocate memory for objects?
5. When do we declare a class or method as final?
6. Give one difference between static and dynamic Binding

Long questions
1. "Java is called Machine Independent language" Justify this statement with proper
explanation.
b) Define the following Object Oriented concepts
i) Encapsulation ii) Polymorphism iii) abstraction
2. A) Explain different java Buzzwords?
3. Write a program to perform the following functions using classes, objects, constructors
wherever necessary
a. Read 5 subjects marks of 5 students
b. Calculate the total and print the result on the screen
4. Discuss the advantages and disadvantages of Object Oriented Programming.
5. Explain the purpose of constructor in Java programming?
6. Explain different string handling function with an example?
7. Describe the structure of a typical Java program with an example.
8. Write the significance of Java Virtual Machine.
9. How do we implement polymorphism in JAVA? Explain briefly.
10. Define an array and how do you declare the array in java give example

Unit II
Short questions
1.Explain about nested interfaces?
2. Define interface.
3. When do we declare a class or method as final?
4. Write about packages in java?
5. List the methods available in the character streams
6. Define byte code

Long questions
1. Write a java program for finding Prime number using
Console class
2. Explain Stream classes and also different types of Stream classes.
3. Write an example program to show the calling sequence of constructors.
4. Explain how to create packages in detail with an example
5. How to extend one interface by the other interface? Explain with an example
6. List the difference between an interface and class?
7. Discuss about the FileInputStream and FileOutputStream in java with examples
8. Explain the process of defining and creating a package with suitable examples.
9. Give an example where interface can be used to support multiple inheritance
10. List the methods available in the Character Streams and Discuss about it.
11. Distinguish between Byte Stream Classes and Character Stream Classes

Unit III

Short questions
1. In how many ways a thread can be created. Explain?
2. State the purpose of keyword “throws”?
3. Write the usage of try and catch
4. Explain about thread priorities
5. Use of synchronization in java
6. Differentiate between a thread and a process

Long questions
1. Write about inter thread communication in java with an example.
2. Explain synchronization and why is it important with an example
3. Define exception? Explain exception handling in java with examples
4. List the states in the lifecycle of a Thread.
5. Illustrate different types of Built Exceptions in java?
6. Write a java program to create own exceptions.
7. Differentiate between Checked and Unchecked Exceptions with examples.
8. Write a program to create four threads using Runnable interface.
9. Write a program to create three threads in your program and context switch among the
threads using sleep functions
10. Define an Exception and how is an Exception handled in JAVA?
11. Write a java program that illustrates the application of multiple catch statements

Unit IV
Short questions
1. Define about Iterator?
2. Explain about arrayList?
3. Difference between Array and ArrayList
4. Define collection framework?
5. Which methods of deque enable it to be used as a stack
6. Explain the use of layout managers.

Long questions
1. Explain the Bit Set and Calendar classes in detail.
2. Discuss the differences between HashList and HashMap, Set and List.
3. Explain the Collection framework in Java and list the differences between array and
collection
4. Discusshow to sort ArrayList in descending order
5. Differentiate between ArrayList and a Vector? Why ArrayList is faster than Vector?
Explain.
6. How an Hashtable can change the iterator? Explain
7. Discuss about Java Collections Framework and List out some benefits of
Collections framework and explain.
8. List similarities and difference between ArrayList and Vector and Explain.
9. Differentiate between Iterator and List Iterator? Explain different ways to iterate
Over a list
10. Discuss Java Collections Framework and List out some benefits of Collections
framework and explain.
11. Explain the importance of hash Code() and equals() methods

Unit-V
Short questions
1. List the limitations of AWT?
2. List the types of layout available in java?
3. List the types of Deligation Event models in java?
4. Discuss about Adapter classes?
5. Define an Event
6. Discuss about Inner Classes

Long questions
1. Write a detailed note on MVC architecture. Discuss its advantages and
disadvantages
2. List the different types of Event listeners supported by java.
3. List and explain different types of Layout managers with suitable examples.
4. How to move/drag a component placed in Swing Container? Explain.
5. Discuss in detail the limitations of AWT.
6. Discuss about different event classes.
7. Explain various layout managers in JAVA.
8. List the different types of Event listeners supported by java.
9. Explain Anonymous inner class with example.
10. List the advantages and disadvantages of Inner classes?

You might also like