You are on page 1of 6

Subject: JAVA (5th Sem CE) Assignment 1(Chapter 1 and 2):

Q-1. Introduction to JAVA. Q-2. Explain JVM,JIT and JRE. Q-3. What is Bytecode? Explain in brief. Q-4. Explain the structure of JAVA program with example. Q-5. Explain public static void main(String args[]) statement. Q-6. Advantages of JAVA. Q-7. Difference between Application and Applet. Q-8. Features of JAVA. Q-9. Explain following: (1) Automatic type conversion (2) Narrowing Conversion Q-10. What is variable? Explain scope of variable. Q-11. Explain final variable. Q-12. Explain switch statement and ternary operators.

Subject: JAVA (5th Sem CE) Assignment 2 (Chap 3):

Q-1. Explain the concept of OOP. Q-2. Explain the general form of class with simple class example. Q-3. Explain the object and class with declaration of object(with null and with reference to variable). Q-4. Explain class structure with whole method declaration and method body. Q-5. Explain work of new operator with assigning object to a same value.

Subject: JAVA (5th Sem CE) Assignment 3 (Chap: Inheritance):


Q-1. What is inheritance? Explain different forms of Inheritance.

Q-2. Explain super class with example. Q-3. Explain super keyword with its main two uses. Q-4. Write a java program for implementing multilevel hierarchy. Q-5. Explain method overriding with example. Q-6. Explain Dynamic method dispatch with example. Q-7. What is abstract class ? Explain with example. Q-8. Explain the use of final keyword in inheritance with example.

Subject: JAVA (5th Sem CE) Assignment 4 (Chap: Packages and Interface):
Q-1. What is package? Explain java packages.

Q-2. Explain steps to create package with example. Q-3. Explain CLASSPATH in details. Q-4. Explain public, protected and default specifiers. OR Q-4. Explain visibility modifiers of JAVA. Q-5. Explain import statement. What should we do if we want to import two packages that contains classes with same names? Explain with example. Q-6. Explain interface with suitable example. Q-7. Explain the concepts of extending and implementing interfaces with examples. Q-8. Write a java program to create the package student to display student details.

Subject: JAVA (5th Sem CE) Assignment 5 (Chap: Exception Handling):


Q-1. Explain types of errors. Q-2. Explain Exception and exception handling in JAVA. Q-3. Difference between Error and Exception.

Q-4. Explain User-defined exception with example. Q-5. Explain throw and finally keywords in exception handling.

Subject: JAVA (5th Sem CE) Assignment 6 (Chap: Multithreaded programming):


Q-1. What is Thread? Explain its lifecycle. Q-2. Explain two ways of creating Thread with examples.

Q-3. Explain isAlive() and join() methods with example. Q-4. Explain Synchronization. Explain deadlock in inter thread communication.

You might also like