Question Bank
Question Bank
Programming in JAVA
Unit 1
Part A
Part B
1. Give a brief notes on various data type in Java with Suitable example.
2. Discuss various operator available in java with suitable example.
3. Explain the control statement with suitable example program.
4. Write short notes on Arrays with its declaration and with its type. Explain with suitable
Program.
5. Explain briefly about the features of java.
Unit II
Part A
Part B
1. Elaborate on the concepts of class and object in Java with an appropriate example program.
2. Discuss about constructor and its types in detail with example.
3. Explain about Method Overloading and how objects can be passed as parameters with
suitable Java programs.
4. Describe about string class in java with suitable program.
Unit III
Part A
1. Discuss about package.
2. What is Exception?
3. Describe the approaches for creating thread in java with example program
4. Write about super keyword.
5. Explain checked and unchecked exception.
6. Discuss about abstract class.
Part B
1. Explain about Inheritance .List out types of Inheritance. Write a java Program to explain all
type of inheritance.
2. Write about Method overriding .Write Program for addition of two number.
3. Define Interfaces? Explain the extension of interfaces, implementation and accessing it
4. Define package and its use. Explain about types of package and how to import package in
another package with example program.
Unit IV
Part A
Part B
1. Explain in detail about thread. Write about two ways of creating thread with suitable program.
2. What is thread synchronization? Discuss with an example.
3. With neat diagram discuss about life cycle of thread and its priority.
4. Discuss about scanner class with a example program.
5. Illustrate vector class with an example
6. Describe about any two Utility class with suitable program
Unit V
Part A
Part B