0% found this document useful (0 votes)
3 views4 pages

Imp Question Java

Uploaded by

yashvanthrao2266
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Imp Question Java

Uploaded by

yashvanthrao2266
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT–1: Introduction to Java

Important 2 Marks
1. Define Object-Oriented Programming (OOP).
2. List any four features of Java.
3. Differentiate between C and Java.
4. What is a class?
5. What is an object?
6. What is a constructor?
7. What is the purpose of the this keyword?
8. What is the instanceof operator?
9. Define Wrapper Classes.
10. What is JDK?
11. Differentiate String and StringBuffer.
12. What is an abstract class?
13. What is a final class?
14. What is a static member?
15. What are arrays in Java?

Important 5 Marks
1. Compare Procedure-Oriented Programming and Object-Oriented Programming.
2. Explain the features of Java.
3. Explain the structure of a Java program.
4. Explain data types and variables in Java.
5. Explain constructors with an example.
6. Discuss String and StringBuffer classes.
7. Explain Wrapper Classes.
8. Explain the use of this keyword and instanceof operator.

Important 8 Marks
1. Explain the concepts of OOP and compare POP with OOP.
2. Discuss the features of Java in detail.
3. Explain the structure of a Java program with a suitable example.
4. Explain control structures in Java with examples.
5. Discuss methods and constructors in Java.
6. Explain built-in classes: Math, Character, String, StringBuffer, and Scanner.
7. Explain abstract, static, and final classes with examples.
8. Discuss arrays in Java with suitable programs.
UNIT–2: Inheritance, Polymorphism, Packages, and I/O
Important 2 Marks
1. Define inheritance.
2. What is a superclass?
3. What is a subclass?
4. What are visibility modifiers?
5. What is single inheritance?
6. What is multilevel inheritance?
7. What is hierarchical inheritance?
8. What is an interface?
9. Define polymorphism.
10. What is method overloading?
11. What is method overriding?
12. What is a package?
13. What is a user-defined package?
14. What are byte streams?
15. What are character streams?

Important 5 Marks
1. Explain visibility modifiers in Java.
2. Explain different types of inheritance.
3. Explain interfaces with examples.
4. Differentiate method overloading and method overriding.
5. Explain packages in Java.
6. Explain user-defined packages.
7. Explain standard I/O streams.
8. Differentiate byte streams and character streams.

Important 8 Marks
1. Explain inheritance and its types with examples.
2. Discuss interfaces and their importance in Java.
3. Explain compile-time and run-time polymorphism.
4. Differentiate method overloading and method overriding with examples.
5. Explain packages and the creation of user-defined packages.
6. Discuss util, awt, and swing packages.
7. Explain standard I/O streams in Java.
8. Explain file handling and different types of streams.
UNIT–3: Event Handling, GUI, Applets, and String
Handling
Important 2 Marks
1. What is event handling?
2. Define Event Listener.
3. What is MouseEvent?
4. What is KeyEvent?
5. What is a frame?
6. What is a panel?
7. What is a layout manager?
8. What is Flow Layout?
9. What is Border Layout?
10. What is Grid Layout?
11. What is an applet?
12. What is the applet life cycle?
13. What is string comparison?
14. What is a dialog box?
15. What is a combo box?

Important 5 Marks
1. Explain event classes and event listeners.
2. Explain mouse and keyboard events.
3. Explain Flow Layout and Border Layout.
4. Explain GUI components in Java.
5. Differentiate applets and applications.
6. Explain applet life cycle.
7. Explain string comparison methods.
8. Discuss StringBuffer operations.

Important 8 Marks
1. Explain event handling mechanisms in Java.
2. Discuss mouse and keyboard event handling with examples.
3. Explain layout managers with suitable examples.
4. Explain GUI controls such as buttons, labels, checkboxes, and text fields.
5. Compare applets and applications.
6. Explain the applet life cycle with a neat diagram.
7. Discuss the development and execution of applets.
8. Explain string handling in Java with examples.
UNIT–4: Exception Handling, Multithreading, Collections,
JavaBeans

Important 2 Marks
1. What is an exception?
2. Define checked exception.
3. Define unchecked exception.
4. What is the purpose of the finally block?
5. Define multithreading.
6. What is multitasking?
7. What is thread synchronization?
8. What is the Runnable interface?
9. What is the life cycle of a thread?
10. What is JavaBeans?
11. What is Java Security Manager?
12. What is generic programming?
13. What is a collection?
14. What is ArrayList?
15. What is HashMap?

Important 5 Marks
1. Explain checked and unchecked exceptions.
2. Explain try-catch-finally blocks.
3. Explain the life cycle of a thread.
4. Differentiate multithreading and multitasking.
5. Explain thread synchronization.
6. Explain collections in Java.
7. Explain JavaBeans.
8. Explain generic programming with examples.

Important 8 Marks
1. Explain exception handling in Java with examples.
2. Discuss checked and unchecked exceptions.
3. Compare multithreading and multitasking.
4. Explain the life cycle of a thread with a neat diagram.
5. Explain the two methods of creating threads with examples.
6. Discuss thread synchronization and its importance.
7. Explain the Collections Framework in Java.
8. Discuss JavaBeans, Java Security Manager, and Generic Programming.

You might also like