Imp questions java
Imp questions java
CHAPTER 1
Essays:
1.Compare procedure Oriented and object-oriented programming.
2. How to write and execute a java program. List different keywords and comment statements.
3. Apply one dimensional and two-dimensional Array give example program
4. Explain usage of constructors with an example program
5. Explain about string classes
6. Write a program to create classes and objects and adding methods.
7. Write a Program using concept of overloading methods.
Shorts:
1.Features of java ,Byte codes of java,jvm.
2. Describe usage of this pointers.
CHAPTER 2
Essays:
1.Explain Implementation of inheritance with a program .
2. Illustrate how to implement multilevel inheritance with an example program.
3. Explain how to implement interface with sample program
4. Illustrate the mechanism of importing packages.
5. Describe concept of access protection .
6. Write a program on Inheritance using the concept of Method overriding.
7. Write a program to create a package and design a module to importing packages from other
packages.
Shorts:
1.Explain method overriding and usage of super keyword.
2.Define concept of Interfaces.
3.Define packages.
CHAPTER 3
Essays:
1.Explain how to read and write data through console input and output stream.
2. Explain various file access operation by using file streams.
3. List collection interface and explain the following with examples(List,set,queue)
4. List collection classes and explain the following with examples(Linkedlist,Arraylist)
5. Explain Reading and writing Primitive data types using DataInputStream and
DataOutputStream.
Shorts:
1. List Different types of IO streams .
2. What is Collection frameworks and hierarchy of collection framework.
CHAPTER 4
Essays:
1. Applying following key words to handle exception through sample programs.
2. Explain the concept of multi catch statements.
3. Explain how to create multithread with example program .
Shorts:
1. What is exception handling.
2. Define multithreading.
3. Describe source of errors.
4. Give advantages of exception handling .
5. Explain thread life cycle and states .