0% found this document useful (0 votes)
2 views3 pages

Java

The document outlines a comprehensive curriculum for learning Java, covering topics such as the features and advantages of Java, the structure of Java programs, and the principles of Object-Oriented Programming. It includes detailed sections on inheritance, exception handling, multithreading, and file handling, along with practical examples and explanations. Each unit is designed to build foundational knowledge and skills necessary for programming in Java.

Uploaded by

babulapubun1356
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)
2 views3 pages

Java

The document outlines a comprehensive curriculum for learning Java, covering topics such as the features and advantages of Java, the structure of Java programs, and the principles of Object-Oriented Programming. It includes detailed sections on inheritance, exception handling, multithreading, and file handling, along with practical examples and explanations. Each unit is designed to build foundational knowledge and skills necessary for programming in Java.

Uploaded by

babulapubun1356
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

1. What are the features and advantages of Java?


2. Explain JVM, JDK, and JRE with differences.
3. What is Bytecode? How does JVM execute it?
4. Procedure-Oriented Programming vs Object-Oriented Programming.
5. Explain OOP concepts:
o Abstraction
o Encapsulation
o Inheritance
o Polymorphism
6. Explain the structure of a Java program.
7. Write and explain a Hello World program.
8. Why is Java platform independent?

UNIT 2: Building Blocks of the Language


1. Primitive Data Types in Java.
2. User Defined Data Types.
3. Variables and Constants.
4. Type Conversion vs Type Casting.
5. Scope of Variables.
6. Wrapper Classes.
7. Garbage Collection and its importance.
8. Arrays in Java and types of arrays.
9. String vs StringBuffer.
10. Different ways of String Manipulation.
11. Arithmetic, Relational, Logical, and Bitwise Operators.
12. Difference between = and ==.
13. Decision Statements:
o if
o if-else
o switch
14. Looping Statements:
o while
o do-while
o for
15. break, continue, and return statements.

UNIT 3: Object-Oriented Programming Concepts


1. What is a Class and Object?
2. Define fields and methods.
3. Explain this keyword.
4. Explain static keyword.
5. Explain final keyword.
6. Method Overloading with example.
7. Constructor and its types.
8. Difference between Constructor and Method.
9. Default Constructor.
10. Parameterized Constructor.
11. Constructor Overloading.
12. Passing Objects as Parameters.

UNIT 4: Inheritance, Packages & Interfaces


1. What is Inheritance? Advantages of Inheritance.
2. Types of Inheritance:
o Single
o Multilevel
o Hierarchical
o Multiple
o Hybrid
3. Why Java does not support Multiple Inheritance through classes?
4. Method Overriding.
5. Difference between Overloading and Overriding.
6. Superclass and Subclass.
7. super keyword.
8. Dynamic Method Dispatch.
9. Object Class in Java.
10. Packages:
o Creating Package
o Importing Package
11. Access Rules in Packages.
12. What is an Interface?
13. Implementing Interface.
14. Multiple Inheritance using Interface.
15. Interface vs Class.

UNIT 5: Exception Handling & Multithreading


Exception Handling

1. What is an Exception?
2. Types of Errors and Exceptions.
3. try-catch block.
4. Multiple Catch Blocks.
5. throw vs throws.
6. finally block.
7. User Defined Exception.
8. Advantages of Exception Handling.

Multithreading

9. What is a Thread?
10. Thread vs Process.
11. Creating Thread using Thread Class.
12. Creating Thread using Runnable Interface.
13. Life Cycle of a Thread (Important Diagram).
14. Thread Priority.
15. Thread Synchronization.
16. Exception Handling in Threads.

UNIT 6: File Handling


1. What are Streams in Java?
2. Byte Stream vs Character Stream.
3. Stream Class Hierarchy.
4. FileInputStream and FileOutputStream.
5. FileReader and FileWriter.
6. Create a Text File in Java.
7. Read a Text File in Java.
8. Write Data to a File.
9. Useful I/O Classes.

You might also like