by NEXERA
JAVA
END SEM
Most
important
IF YOU WANT COMPLETE ENDSEM LECTURES
(WITH IMPORTANT QUESTIONS ) :
COMPLETE ENDSEM PREP
UNIT - 1
Characteristics of Java (IMP)
Q1(a) Why java is called a pure object oriented programming language.
Q2(a) Describe the features of Java Programming Language that justifies its popularity? (5)
Q.3. (a) Describe any five features of Java.
Contents Class File Format
Q1.c) Explain the contents class file format?
Q. 2, (b) Class File Format.
Garbage Collector (IMP)
Q1a) Explain in detail about Garbage Collector in Java.
Q.2. (b)(ii) Garbage Collections.
Sandbox Security (IMP)
Q1). Explain sandbox security model with diagram in detail. (5)
Q.2. (b) What is sandbox security model? How does it help in providing security to
resources? Discuss detail.
Q.3. (a) Explain sandbox model.
Security Architecture Of Java (IMP)
Q1(b) Discuss the security architecture of Java in detail.
Q.2 (a) Explain the security promises of the Java Virtual Machine (JVM) and how it achieves
them. (5)
Q.3. (b) Describe Java Security Architecture?
JVM Architecture (VVIMP)
Q1(a) What is JVM? Explain JVM architecture in detail.
Q2 . DIscuss the organization of the Java Virtual Machine.
UNIT - 2
KEYWORDS (IMP)
Q1 Describe the uses of final and super keywords with respect to inheritance?
Q.2. Give use of ‘this’ keyword in Java with suitable example? (3)
WRAPPER CLASS (VVIMP)
Q.1. What are Wrapper Classes?
Q.2. (b) Explain the concept of wrapper classes in Java and discuss their significance.
Q 3b). Demonstrate the wrapper classes in Java.
ABSTRACT CLASS (VVIMP)
Q.1. (b) Illustrate the working of an abstract class with a suitable example.
Q.2. (c) Differentiate between abstract class and interface.
Q.3. (a) Discuss any five differences between Interface and Abstract Class. (3)
Q4c). Discuss in detail about Abstract Classes in Java.
Exception Handling (IMP)
Q1a) Write a program to illustrate the use of multiple catch blocks for a try block. (4)
Q2b) Can we have an empty catch block? Justify.
.Q3. (b) What is exception handling? Create customized exceptions and make use of
all the 5 exception keywords used in exception handling. (8)
Applet
Q.1. (a) Explain the concept of Applet programming in Java and describe the life cycle of
an applet. Provide a Java Applet program illustrating the key stages of an applet’s life
cycle. (8)
Anonymous Inner Class
Q.1. (d) How to create Inner & Outer class? How is it helpful for achieving Security.
Q.2. (b) What is Anonymous Inner Class? (4)
String (IMP)
Q 1c). What is the use of String Tokenizer class.
Q.2. (b) What is the difference between String Buffer and String Class? Show the use of two
methods of String Buffer and String Class with the help of example. (7)
UNIT - 3
Thread Life Cycle (VVIMP)
Q1(c) What is a thread? Describe the complete life cycle of thread.
Q.2. (a) What is thread? Explain the life cycle of a thread with the help of a diagram. What
are the various ways to create the thread? Explain any one with the help of example. (8)
Q.3. (a) State the lifecycle of Thread.
Event Handling( VVIMP)
Q.1. (a) Why is event used in Java? What is the difference between adapter class and listener
interface? Explain with the help of an example. (8)
Q2b). Discuss the event delegation model in Java. Also explain the basic components of it. (5)
Q.3 (b) Discuss the delegation event model?
Q.4 (c) What are listeners?
Daemon Thread
Q 1(a). Describe Daemon Threads? Explain with an example.
Layout Manager (VVIMP)
Q 1(b). Discuss various types of layouts used in AWT. Write a program to show the use of
Border Layout and Grid Layout with various components. (7)
Q 2(b). Differentiate between Grid Layout and Border Layout managers.
Q.3 (b) What is a Layout Manager? What are the different types of Layout available in Java?
Q 4b). Write a Java program to develop Login Window using AWT.
THREAD SCHRONIZATION (IMP)
Q.1 (a) Explain Thread synchronization.
Q.2 (b) What is thread synchronization? When do we use it? Write a program to illustrate the
concept of Thread Synchronization method. (7)
UNIT - 4
Object Serialization (VVIMP) i
Q.1 (b) What is Object serialization and why is it important?
Q.2(b)(ii) What is object serialization vs de-serialization?
Q.3 (d) What is Object Serialization?
JBDC (VVIMP)
Q.1 (a) Describe different types of JDBC drivers.
Q.2 (a) Explain different types of JDBC drivers. Write the steps to connect a Java application
to a database? Explain with the help of example. (10)
Q.3 (b) JDBC
Random Access Files
Q1(b) Explain the random access file operations with a suitable program.
Q.2 (c) Describe Random Access File.
Hashable,array and vector (IMP)
Q1(b) Write a program to store the names of bank depositors and their current balances using
hash tables. (5)
Q2(e) Difference between Array list and Vector.
Q.3 (c) Hashtable
RMI
Q.1 (a) RMI
Q.2(c) What is remote method invocation? Explain briefly.
Java Native interfaces,
Q.1(b) (i) What is JNI and how it works?