Java course online
Java is one of the most popular languages for learning object-oriented programming and building applications. On BitWizards you run it without installing the JDK and without signing in: Java runs in your browser, on my custom-built Java engine. The engine checks code the way javac does (the same compile errors) and runs it with its own interpreter. That is what makes stepping possible: you run one statement at a time and watch variables, the call stack and breakpoints. A program running on a remote server cannot show that, because only its output comes back. Keyboard input works in an interactive console (Scanner).
What you will learn
- The structure of a Java program,
System.out.println, types and variables. - Conditional statements, loops, methods.
- Classes and objects - the basics of object-oriented programming.
- Reading input interactively with
Scanner, live in the console. - Colors in the console: ANSI codes in
System.out.printlnfor text and background colors, bold text, a progress bar, a PASS/FAIL report and a colorful Christmas tree.
How you learn on BitWizards
- A Java engine in the browser: written from scratch for BitWizards; the whole Java Basics course gives the same results as a real JDK. The program runs in a separate browser thread, so an infinite loop does not freeze the tab.
- Stepping: Step runs one statement and enters called methods, the inspector shows variables and the call stack, breakpoints jump to a chosen line, and Pause stops the program at any moment.
- Interactive console:
Scanner.nextLine()waits, you type your input and the program responds, like in a real terminal. - Dates and time:
LocalDate,LocalTime,Period,DurationandChronoUnitfromjava.time, plusDate,CalendarandSimpleDateFormat, work in the browser just like in JDK 21. - Server as a fallback: when signed in, the same code can run on the server with one click, on a real JDK in an isolated container with time and memory limits.
- Exercises with automatic result checking.
Java and the INF.04 exam
Java is a strong choice for INF.04 (Polish vocational IT qualification) - designing, programming and testing applications, especially with an object-oriented approach. The topics on classes, inheritance, arrays, algorithms and exceptions match the typical skills of the practical part. The mobile app from the exam paper can be practised in Java in the Android course, and a desktop window app in C# in the WPF course (JavaFX is not covered). Java complements C++ and Python well.
For the computer science matura, algorithms on arrays, sorting, searching and working with strings are training for the programming tasks. Each sorting loop and recursive call can be stepped through statement by statement, with a variable view. Descriptions of the core curriculum algorithms: algorithms (in Polish).
Colors in the console
The BitWizards console shows ANSI colors, so System.out.println can print a red error message, a green “OK” or a Christmas tree with colorful baubles. Codes, examples in five languages and common mistakes are on the terminal colors page, and the exercises are in the Colors in the console topic of the Java Basics course (in Polish).
Related technologies
C++ - Python - SQL and MySQL