JPR CT I Question Bank 2023 24
JPR CT I Question Bank 2023 24
Unit – I
1. List features of Java. 2M
2. Define Class and Object. 2M
3. State (arithmetic/relational/ logical/ increment-decrement/bitwise) operators and their use in java. 2M
4. Explain mathematical functions. 2M
5. Programs from manual using if, switch, for, while, do-while loops. 4M
6. Explain the concept of platform independence and portability with respect to Java language. 4M
7. Define a class circle having data members pi and radius. Initialize and display values of data members
also calculate area of circle and display it. 4M
8. Define type casting. Explain its types with syntax and example. 4M
Unit – II
1. State use of finalize( ) method with its syntax. 2M
2. Define array. List its types. 2M
3. Define and explain: i). Autoboxing ii). Unboxing. 2M
4. Enlist access specifiers in Java. 2M
5. Explain constructor with suitable example. 2M
6. Write a program to illustrate the use of String class methods. 4M
7. Define Constructor. Explain the types of constructors in Java with suitable example. 4M
8. Differentiate between String Class and String Buffer Class (any four points of difference). 4M
9. Write the difference between vectors and arrays. (any four points of difference). 4M
10. List any 10 methods of String class and state the use of each with syntax. 4M
11. List any 10 methods of StringBuffer class and state the use of each with syntax. 4M
12. List any 10 methods of Vector class and state the use of each with syntax. 4M
13. Name the wrapper class methods for the following : i). To convert string objects to primitive int ii). To
convert primitive int to String objects. 4M
14. Write a program to create a Vector with five elements as (5, 15, 25, 35, 45). Insert new element at
2nd position. Remove 1 st and 4 th element from vector. Display the elements of vector. 4M
Unit – III
1. List the types of inheritances in Java. 2M
2. List any four built-in Java packages. 2M
3. Explain single/multilevel/hierarchical inheritance with proper example. 4M
4. Describe final variable and final method / State the use of final keyword with respect to inheritance. 4M
5. Differentiate between method overloading and method overriding. 4M
6. Explain dynamic method dispatch in Java with suitable example. 4M
7. Explain super keyword, super() method with example. 4M
8. Explain abstract class with suitable example. 4M
9. Implement the following inheritance. (any program from Inheritance notes shared with you). 4M
10. Explain the concept of interface / multiple inheritance with suitable example. 4M
11. Define packages. How to create user defined package? How to import it ? Explain with example.
12. Explain any four built-in packages. 4M
Mrs.G.S.Mujumdar / Mrs.V.R.Pingle
(Staff Name )