ECS-II_Core_Java_Question_Bank
ECS-II_Core_Java_Question_Bank
Sem: IV
Subject:: Core Java
Question bank
Q.1 Choose the correct atlernative (8 Marks)
Sr.No. Que Correct
Option
1.static
2.final
3.const
4.constant
Q2. Answer any four of the following questions. Each question carries two marks.
(4 x2: 8)
Sr.No. Que
Q3. Answer any two of the following questions. Each question carries four marks .
2 x 4: 8
Sr.No. Que
2 Describe the purpose and use of final classes in Java with an example.
3 Explain method overloading with suitable program.
4 Describe how a Java program is compiled and executed.
5 Explain the concept of garbage collection in Java.
6 Explain the concept of method overriding with an example in Java.
7 Explain abstract class in Java with an example.
8 What are standard Java packages? Name some common Java
packages and their use.
9 Explain the concept of thread synchronization in Java and why it is
important.
Q5. Answer any one of the following questions. Each question carries eight marks.
(l x 8=8)
(for 25 Marks QP Consider this as Question 4 )
Sr.No. Que