Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 958 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 958 Bytes

java-for-beginners

HelloWorld Java Program Overview This is a simple "Hello, World!" program written in Java. It serves as a basic introduction to Java programming and can be used as a starting point for learning Java or testing your development environment.

Java Variables

Variables are containers for storing data values.

In Java, there are different types of variables, for example:

String - stores text, such as "Hello". String values are surrounded by double quotes int - stores integers (whole numbers), without decimals, such as 123 or -123 float - stores floating point numbers, with decimals, such as 19.99 or -19.99 char - stores single characters, such as 'a' or 'B'. Char values are surrounded by single quotes boolean - stores values with two states: true or false

Array

To describe each characteristic of a particle separately Arrays are used [Array] (https://vscode.dev/github/gmandroroshe/java-for-beginners/blob/main/arrays)