You are on page 1of 1

Shiksha Academy

Core Java Question Paper 2022


Total Mark : 100

SECTION-A(Answer any five) (5 X 10marks)

1) Explain Object Oriented Programming and its core concepts. Write a program using multi level inheritance
concept.
2) What is Multi Threading ? Explain Thread Life Cycle. Write a suitable program implementing multithreading.
3) What is the difference among String, StringBuffer and StringBuilder ? Write a program to find sub string in a
given string.
4) Explain features of java programming language.
5) Define Exception handling keywords used in java with sutable example.
6) What are different types of polymorphism ? Write a program implementing any one type of polymorphism
7) Explain all the relational and logical operators used in java.

SECTION -B(Answer any 4) (4 X 5 marks)

1) Write a program to find if a number is prime no or not.


2) Write a program to find factorial of a number using recursive function
3) Write a program to remove all the white spaces from a given string.
4) Write a Java program to calculate the average value of array elements
5) Write a Java program to iterate through all elements in a array list.
6)

SECTION -C(Answer any 10) (10 X 3 marks)

1) What are the advantages of ArrayList over arrays?


2) Difference between throw and throws?
3) List primitive Java types?
4) If a variable is declared as private, where may the variable be accessed?
5) What is synchronization?
6) What is the difference between static and non-static variables?
7) What are Wrapper classes?
8) What is the use of final keyword ?
9) What is Encapsulation?
10) What's the difference between constructors and other methods?
11) What are different tokens used in java ?
12) What is the use of this keyword

You might also like