Basic Java
4 articles in this category.
- All
- Python 133
- Tools 30
- Tutorials 20
- DATABASE 10
- PHP 8
- C & C++ 5
- Java 4
- Web Development 2
- General Blogs 1
-
What is Java? JDK, JRE, JVM, bytecode and your first program
What Java is and why it runs everywhere: a short history, the JDK, JRE and JVM explained, compiling to bytecode, the main method, primitive types, strengths and limits, release and LTS versions, and how to install it and run a first program.
-
Java for beginners, part 3: streams, concurrency, JDBC, modules and JUnit
The next level of Java with tested programs: lambdas and the Stream API, Optional, threads, synchronisation, executors, CompletableFuture and virtual threads, JDBC with prepared statements and transactions, the module system and unit tests with JUnit 5.
-
Java for beginners, part 2: OOP, collections, generics, exceptions and files
Object-oriented Java with tested programs: classes, constructors, static members, inheritance, abstract classes and interfaces, enums and records, the collections framework, generics, checked and unchecked exceptions, try-with-resources and reading and writing files.
-
Java for beginners, part 1: variables, strings, control flow, methods and arrays
The Java basics with tested programs: variables and types, type casting, String and its equals trap, operators, if and switch expressions, loops, methods and overloading, arrays, reading input with Scanner, and a first look at classes.