bca-5-sem-introduction-to-java-dec-2015

Dec 2015
Bachelor of Computer Application (BCA) Examination
V Semester
Introduction To Java
Time 3 Hours] [Max. Marks 50
Note : All questions are compulsory. All questions carry equal marks.


1. Write difference between public, private and protected keyword with example.
OR
fiat are the different types of operators in JAVA ? Explain role of operator precedence in solving an expression.
plain how many ways you can change the flow of control of a program with example.
OR
(a) Write a JAVA program using Switch Statement.
(b) What is Type Casting-? Explain with example.
3. Write about :
(a) Method Overloading.
(b) Different Levels of Access Protection.
OR
Explain :
(a) Constructor with its special properties.
(b) Access specifier.
4.(a) Explain Thread. (b) Discuss Synchronization.
OR
(a) Describe different forms of Inheritance. (b) Discuss different packages used in JAVA
5. Write short notes on any three of the following :
(a) Polymorphism.

(b) Java Virtual Machine.

(c) Exceptions for I/O.

(d) Use of Objects.
(e) String Handling in JAVA.