Vishwa Venkateshwara Degree College
Kodipalya,Kengeri, Bangalore-60
PREPARATORY EXAM – JULY 2023
II Semester BCA – Java Programming
Time: 2 hours 30 minutes Reg. No:- Max. Marks: 60
SECTION-A
I ANSWER ANY FOUR QUESTIONS. EACH QUESTION CARRIES TWO MARKS.
(4x2=8)
1. What is bytecode?Justify how java is platform independent.
2. What is default constructor and parameterized constructors.
3. Define [Link] its use.
4. Mention any four threads.
5. What is the use of super and this keyword.
6. Mention the data types.
SECTION-B
II ANSWER ANY FOUR QUESTIONS. EACH QUESTION CARRIES TWO MARKS.
(4X5=20)
1. Explain the features of java.
2. Explain the following with examples
i)Method overriding
ii)Abstract Method
iii)Method
overloading
3. Define [Link] types
4. Explain interface with examples 5. Explain user defined exceptions in
java.
SECTION-C
III ANSWER ANY FOUR QUESTIONS .EACH QUESTION CARRIES EIGHT MARKS.
(4X8=32)
1. Explain any six string methods with examples.
2. Explain the visibility in java.
3. Explain the use of file input stream class and file output stream class.
4. Explain the life cycle of thread.
5. Explain try and catch with examples.
6. Explain the multithreading by extend keyword.