0% found this document useful (0 votes)
2 views1 page

Java Exam Notes

The document outlines key concepts for a Java exam, covering OOP principles, Java operators, and features of Java. It includes topics such as data types, program structure, class and object definitions, constructors, method overloading and overriding, arrays, strings, threads, exception handling, I/O streams, AWT, and object streams. Each section provides essential information necessary for understanding Java programming.

Uploaded by

tejasnag247
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 views1 page

Java Exam Notes

The document outlines key concepts for a Java exam, covering OOP principles, Java operators, and features of Java. It includes topics such as data types, program structure, class and object definitions, constructors, method overloading and overriding, arrays, strings, threads, exception handling, I/O streams, AWT, and object streams. Each section provides essential information necessary for understanding Java programming.

Uploaded by

tejasnag247
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

JAVA EXAM NOTES

Unit 1, 2, 3, 4 - Important Answers

1. OOP Principles: Encapsulation, Inheritance, Polymorphism, Abstraction.

2. Java Operators: Arithmetic, Relational, Logical, Assignment, Unary, Bitwise, Ternary.

3. Features of Java: Simple, Object-Oriented, Platform Independent, Secure, Robust,


Multithreaded.

4. Data Types: Primitive and Non-Primitive.

5. Program Structure: Package, Import, Class, Main Method.

6. Class & Object: Blueprint and Instance.

7. Constructors: Default, Parameterized, Copy.

8. Method Overloading: Same name, different parameters.

9. Method Overriding: Same method in parent & child.

10. Arrays: 1D and 2D.

11. Strings: Immutable, methods like length(), charAt().

12. Threads: Life cycle and multithreading.

13. Exception Handling: try, catch, finally.

14. I/O Streams: FileInputStream, FileOutputStream.

15. AWT: GUI components and hierarchy.

16. Object Streams: Serialization and Deserialization.

You might also like