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

Java Important Questions

This document outlines topics to be covered across 5 units on Java programming. Unit 1 covers OOP concepts, Java features, bytecode, datatypes, arrays, operators, control statements, strings, constructors, inheritance, and polymorphism. Unit 2 discusses packages, access protection, interfaces, streams, console and file I/O. Unit 3 covers exceptions, exception handling keywords, user-defined exceptions, threads, and inter-thread communication. Unit 4 defines collections and collection frameworks, and common collection classes. Unit 5 discusses AWT and Swing hierarchies, layout management, event handling, and applets.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Java Important Questions

This document outlines topics to be covered across 5 units on Java programming. Unit 1 covers OOP concepts, Java features, bytecode, datatypes, arrays, operators, control statements, strings, constructors, inheritance, and polymorphism. Unit 2 discusses packages, access protection, interfaces, streams, console and file I/O. Unit 3 covers exceptions, exception handling keywords, user-defined exceptions, threads, and inter-thread communication. Unit 4 defines collections and collection frameworks, and common collection classes. Unit 5 discusses AWT and Swing hierarchies, layout management, event handling, and applets.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

UNIT – 1

1. Write about OOPS concepts?


2. Write about Java Buzzwords/Features?
3. Write about Java byte code and lexical issues.
4. Write about Datatypes and Variables in Java?
5. Explain about an Array with example?
6. Write about Operators in Java?
7. Write about Control Statements?
8. What is meant by String? Write about String class methods?
9. Define Constructors with Example?
10.Explain about Inheritance and types?
11.Class and methods, string handling (concepts)
12. Explain about i)super key word ii) final keyword iii) this keyword.
13. What is mean by overloading methods? Explain in detail.
14.Explain about Abstract Class with example?
15. Polymorphism and types, method binding (concepts)
16.Explain about Forms of Inheritance?
UNIT – 2

1. Write about Packages (definition, types, importing packages)


2. Explain about Access protection / class path
3. Explain about interfaces?
4. Differentiate Interfaces vs abstract classes?
5. Explain about Types of Streams?
6. Explain about Reading Console Input and Writing Console Output?
7. Explain about Reading and Writing Files?
8. Explain about Random access file operations?
9. Explain about Auto boxing and Generics?
10. Define Enumerated Data type in Java?
11. Programs related to files. (One file to another file, 2 files to 3rd file)
UNIT – 3
1. Write about Exception Types?
2. Write about Exception Handling Keywords with examples a) Try b) Catch c)
Throw d) Throws e) finally
3. How to rethrow an exception. Give one example?
4. Write about User defined exceptions (Custom Exceptions)
5. Differences between multiple processes and multiple threads
6. Discuss about Thread states (Thread Life Cycle)?
7. Write about Thread priorities with example?
8. Explain about Synchronizing Threads?
9. Inter-thread communication, producer consumer pattern?
UNIT – 4
1. Define collections?
2. Define Java collection Frame work.
3. Explain about Collection Classes
4. Define Array List with example program
5. Define Linked List with example program
6. Define Vector with example program
7. Define Hash table with example program.
8. Define stack with example program
9. Explain Iterator with example program
10. Define Following Classes with example.
a. String Tokenize
b. Bit Set
c. Date
d. Calendar
e. Random
f. Formatter
g. Scanner
UNIT -5
1. Explain about AWT class hierarchy and Swing hierarchy
2. Write about Delegation Event Model
3. Explain about Swing Layout Management
4. Difference between AWT and Swing
5. Explain about Swing Components
6. Discuss about Event Handling for Mouse
7. Discuss about Event Handling for Key
8. Write about Adapter Classes
9. Write about Lifecycle of Java Applet
10. Write about Parameter in Applet

You might also like