BPLCK105C
BPLCK105C
Module – 1 M L C
Q.1 a. Explain any three object Oriental principles. 6 L2 CO1
b. Describe the process of compiling and running the Java application, with 6 L1 CO1
example.
OR
Q.2 a. Explain type conversion in Java with example. 6 L2 CO1
b. What are keywords and identifies? List the rules to write identifiers. 6 L1 CO1
c. How are array declared and initialized in Java? Explain with suitable 8 L2 CO1
examples.
Module – 2
Q.3 a. What are different types of operators in Java? Explain them. 6 L2 CO1
b. Write a program to find biggest among 3 numbers using ternary operator. 6 L1 CO1
OR
Q.4 a. Differentiate between while loop and do While loop in Java. 6 L2 CO1
c. Write a program to calculate the average among the elements 4, 8, 10, 12 8 L3 CO1
using for each in JAVA.
Module – 3
Q.5 a. Distinguish between Method Overloading and Method Overriding in Java, 8 L2 CO3
with suitable example.
OR
1 of 2
BPLCK105C/BPLCKC105
b. Explain how to perform stack operation using proper class and methods. 8 L3 CO1
Module – 4
Q.7 a. What is Inheritance? Discuss different types of inheritance with suitable 8 L2 CO3
example.
c. Demonstrate the working of final class and final method in Java. 6 L3 CO3
OR
Q.8 a. Explain two uses of super keyword with example. 6 L2 CO3
Module – 5
Q.9 a. Explain the steps involved in creating user defined package with an 8 L2 CO4
example.
c. How do you define variables inside interface? List out the characteristics of 8 L2 CO3
such variables.
OR
Q.10 a. What is an Interface? Explain how to define and implement interface by 8 L2 CO3
taking suitable example.
b. How do you create your own exception class? Explain with program. 8 L3 CO4
*****
2 of 2