Q1. each question is of 2 marks
1. Justify
that java is platform independent language.
2. Define Data
Encapsulation and Data abstraction with respect to OOP.
3. Define inheritance
and list it advantages.
4. Define
Interface and explain its need
5. Define
Exception and explain any four types of
exception
6. Explain the
syntax of exception handling in java.
7. Difference between
throw and throws in java.
8.Difference
between String and StringBuffer class in java.
9.Difference
between arrays and vectors.
10 Define Multithreading.
11 Explain the
different method of achieving multithreading in java.
12. what is a
vector and explain any four methods of class Vector.
Q2: Each question of five marks
1. what is
interface write a program to implement multiple inheritance using interfaces.
2. Explain the
keyword try, catch, finally and throws
with respect to exception handling in java.
3.what is
method overriding and how it differs with method overloading .write a program
to illustrate method overriding
4. Define the keyword
throw and its use with a program.
Q3 . Each question of five marks
1. Program on Vectors
2. program to illustrate
different methods of Thread class.
3. program on
Strings.
4. what are
priority constants of class Thread write a program to illustrate them.
In exam any five will be selected from Q 1 and two from Q2 and two from Q3.
No comments:
Post a Comment