<commit_before># Java

**Java** is Object-Oriented, Platform independent, Simple, Secure, Architectural-Neutral, Portable, Robust, Multi-threaded, Interpreted, High Performance, Distributed, Dynamic, etc.

Dependencies: JSON, TestNg, JUnit, Selenium WebDriver, Hamcrest, EasyMock, Apache HttpClient.

## Context

- Syntax
- Program
- Identifiers
- Modifiers

## Syntax

**Object** - Objects have states or **fields** and behaviors or **methods**. Example: A dog has states-color, name, breed as well as behaviors -wagging, barking, eating. An object is an instance of a class.

**Class** - A class can be defined as a template/ blue print that describe the behaviors/states that object of its type support.

**Methods** - A method is basically a behavior. A class can contain many methods. It is in methods where the logics are written, data is manipulated and all the actions are executed.

**Instant Variables** - Each object has its unique set of instant variables. An object's state is created by the values assigned to these instant variables.

**Package** - Package is a namespace that organizes a set of related classes and interfaces. Placing your code into packages makes large software projects easier to manage. The Java platform provides an enormous class library (a set of packages) suitable for use in your own applications. This library is known as the "Application Programming Interface", or "API" for short. Java Platform API Specification - http://docs.oracle.com/javase/8/docs/api/index.html

Note: To verify the Java version on machine: **java -version**
<commit_msg>Update java.md<commit_after># Java

**Java** is Object-Oriented, Platform independent, Simple, Secure, Architectural-Neutral, Portable, Robust, Multi-threaded, Interpreted, High Performance, Distributed, Dynamic, etc.

## Context

- Syntax
- Program
- Identifiers
- Modifiers

## Syntax

**Object** - Objects have states or **fields** and behaviors or **methods**. Example: A dog has states-color, name, breed as well as behaviors -wagging, barking, eating. An object is an instance of a class.

**Class** - A class can be defined as a template/ blue print that describe the behaviors/states that object of its type support.

**Methods** - A method is basically a behavior. A class can contain many methods. It is in methods where the logics are written, data is manipulated and all the actions are executed.

**Instant Variables** - Each object has its unique set of instant variables. An object's state is created by the values assigned to these instant variables.

**Package** - Package is a namespace that organizes a set of related classes and interfaces. Placing your code into packages makes large software projects easier to manage. The Java platform provides an enormous class library (a set of packages) suitable for use in your own applications. This library is known as the "Application Programming Interface", or "API" for short. Java Platform API Specification - http://docs.oracle.com/javase/8/docs/api/index.html

Note: To verify the Java version on machine: **java -version**

{'fraction_non_alphanumeric': 0.0775974025974026, 'fraction_numerical': 0.0006493506493506494, 'mean_word_length': 4.551351351351351, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3481028', 'n_tokens_mistral': 781, 'n_tokens_neox': 748, 'n_words': 423}