0% found this document useful (0 votes)
17 views

Java Important Questions

Uploaded by

lavanya1985 tumu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Java Important Questions

Uploaded by

lavanya1985 tumu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

MID-1 Question Paper

1
Explain about Java Buzzwords?

2 Classify different types of access control in java?

3 What is inheritance? Explain different types of inheritances?

What are two types of packages in java? How packages are created in Java? Explain
4
with an example
5 Explain Polymorphism and its types?

6
Explain the role of Try and Catch blocks in handling exceptions. Give one example

MID-2 Question Paper

1 Explain the concept of Scope and lifetime of variables in Java with Examples?
2 Explain the concept of Garbage Collection in Java?
3 Describe the use of super Keyword in data members with Suitable example?

4 Explain using final with inheritance in java?

5 Explain abstract class with an example?

6 Explain the concept of String handling in Java?


Pre-Mid Questions

1 Explain Annotations in Java?


2 Explain thread Life Cycle in Java?
3 Explain Canvas and Scrollbars in Java awt with an Example?

4 Explain Layout Manager types in Java?


a) Explain Concept of an Applet?
5
b) Explain passing parameters to applets?

6 Explain JButton Class and Tabbed Panes in Java Swing?

1 Explain Creating Threads in Java?

2 Explain thread groups in java?

3 Explain Delegation event model?

4 Explain Checkboxgroup and choices in Java awt with an Example?


5 Explain MVC architecture?

6 Explain Trees and Tables in Java Swing?


Short-Answer Questions
1. Define object oriented programming?

2. Define class?
3. Define object?

4. Define Method Overloading?

5. Mention the two types of type casting in Java?

6. Define Method overriding?

7. Define Constructor?

8. Define inheritance in Java?

9. Define Method binding?

10. List the data types in Java

Long Answer Questions

1. Explain any 5 Java buzzwords?

2. Explain the concept of classes with a Simple Java Program?

3. Explain different types of access control in java?

4. Explain the concept of Garbage collection in Java?

5. Write a Java Program to find factorial of a given number using recursion?

6. Explain different types of Inheritance in Java?

Pre-Mid Questions

Short-Answer Questions

11. What is an Exception?

12. What is an Exception handling?

13. Define thread?


14. List the Exception Models in Java?

15. List the five keywords in Exception Handling?

16. Define Scanner Class?

17. Define Multithreading?

18. List the three thread priorities?

19. List the Methods to achieve inter thread communication?

20. Define Event Handling?

Long-Answer Questions

7. Explain Usage of try,catch,throw,throws,finally?

8. Explain Built-in exceptions?

9. Explain thread Life Cycle?

10. Explain about Multithreading in java with a Program?

11. Write a short note on thread priorities?

12. Explain Event Sources and Sources of Events?

Pre-Final Paper

Short-Answer Questions

Define object-oriented programming


21. Mention the two major types of type casting in java?
22. Define adhoc Ploymorphism?
23. Define Interface?
24. What is Finally block?
25. What does@override annotation do in Java?
26. What is scrollpane?
27. What is the need of Adapter class?
28. What is an applet?
29. List one Limitation of awt?
PART-B (50 Marks)

2. a) List the primitive data types available in Java and explain?


b) Explain about Arrays Concept in Java?
OR
3. a) Explain about this keyword in java
b) Classify different types of access control in Java?

4. Explain the concept of interface with an example program.


OR
5. Explain about Abstract Classes with a Program in java?

6.a)Explain thread lifecycle in Java?


b) Explain Thread groups in Java
OR
7 .a) Explain Enummerations in Java?
b) Explain Autoboxing in Java?

8. a) Explain about Adapter classes in Java?


b) Explain user interface Components in Java including canvas,scrollbars,checkbox?
OR
9. Write a Java Program for Menubar,graphics?

10.a) Explain how to create an Applet in Java?


b) Explain Life Cycle of an Applet?
OR

11.Explain various Swing Components including JApplet, JFrame, JComponent?

You might also like