Documentation for fundamental Java programming concepts.
- Variables and Data Types - Understanding Java's type system
- Operators - Arithmetic, logical, and bitwise operations
- Control Flow - Conditional statements and loops
- Arrays - Working with single and multi-dimensional arrays
- Strings - String manipulation and operations
byte: 8-bit integershort: 16-bit integerint: 32-bit integerlong: 64-bit integerfloat: 32-bit floating pointdouble: 64-bit floating pointboolean: true or falsechar: 16-bit Unicode character
// Variable declaration
int number = 42;
String text = "Hello";
// Arrays
int[] numbers = {1, 2, 3, 4, 5};
// Control flow
if (condition) {
// code
} else {
// code
}
for (int i = 0; i < 10; i++) {
// code
}- Start with data types and variables
- Learn operators and expressions
- Understand control flow structures
- Practice with arrays
- Master string manipulation
Check the java-basics module for working code examples and test cases.