0% found this document useful (0 votes)
4 views2 pages

Java Notes

Java is a high-level, object-oriented programming language known for its platform independence and security features. It includes various data types, control statements, and object-oriented concepts such as inheritance and polymorphism. Additionally, Java supports exception handling, file operations, and multithreading.

Uploaded by

pratimaa186
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)
4 views2 pages

Java Notes

Java is a high-level, object-oriented programming language known for its platform independence and security features. It includes various data types, control statements, and object-oriented concepts such as inheritance and polymorphism. Additionally, Java supports exception handling, file operations, and multithreading.

Uploaded by

pratimaa186
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
You are on page 1/ 2

Java Programming Notes

1. Introduction to Java

Java is a high-level, class-based, object-oriented programming language that is designed to have as few

implementation dependencies as possible.

2. Features of Java

- Platform Independent

- Object Oriented

- Simple and Secure

- Robust and Multithreaded

- High Performance

- Dynamic

3. Java Data Types

Java has two types of data types:

1. Primitive (byte, short, int, long, float, double, char, boolean)

2. Non-primitive (String, Arrays, Classes, Interfaces)

4. Control Statements

- Conditional: if, if-else, switch

- Looping: for, while, do-while

- Branching: break, continue, return

5. Object-Oriented Concepts

- Class and Object


Java Programming Notes

- Inheritance

- Polymorphism

- Abstraction

- Encapsulation

6. Exception Handling

Java provides try, catch, finally, throw, and throws keywords to handle exceptions.

7. File Handling

Java uses classes like File, FileReader, BufferedReader, FileWriter, and BufferedWriter to handle file

operations.

8. Multithreading

Java provides built-in support for multithreading using the Thread class and Runnable interface.

You might also like