Java I Mid QB
Java I Mid QB
UNIT-I
PART A
PART B
PART A
PART B
What is an array? How one dimension and two dimension arrays are
3 8 Level 5 2
declared and initialized? Explain with example.
PART A
PART B
5 How to handle multiple catch blocks for a try block? Explain with an 7 Level 5 2
example.
6 8 Level 1 2
What is the importance of abstract classes? Show it with an example.
7 Explain various forms of inheritance with suitable code segments. 10 Level 5 2
a)Simple b)Multilevel c)Hierarchial d)Multiple
8 8 Level 5 2
What is the use of super keyword in Java? Explain in detail.
9 Explain usage of following words in exception handling: throw, 7 Level 5 2
throws, finally.
10 With suitable code segments illustrate various uses of ‘final’ keyword. 7 Level 2 2