Search
3 posts
Java basics: variables, data types and casting
The 8 primitive types, primitives vs references in memory, wrapper classes, naming rules, casting and overflow.
Recursion, binary search and a few classic algorithms
Recursion and the JVM call stack, memoization, linear and binary search with their classic bugs, primality, Fibonacci and palindromes, plus recursion exercises with solutions.
Java basics: Hello World, compiling, the three kinds of errors and the first exercises
Your first Java program, the minimum syntax, javac vs java, compile/runtime/logic errors, and a set of exercises that use only print statements and expressions.