Standalone track

Java.

Servers, Android and large systems. Real Java: your code is compiled and run on the server.

Java is one of the most in-demand languages in the world. It powers the server side of banks and shops, Android apps and large corporate systems. The language is strict, which is why it teaches tidy code so well.

  • 150 lessons
  • 15 modules
  • 8250 XP

Java is a standalone direction: it doesn’t depend on HTML, CSS or JavaScript. And do not confuse it with JavaScript: it is a completely different language.

Course illustration: Java

Why you need it.

Java is strict: the compiler shows an error before the program runs and types make the code clear. It is a good school for a future professional: afterwards Kotlin, Spring, C# and much more are easier to learn.

Analogy

A blueprint before building

Builders do not lay bricks at random: first a blueprint, then the wall. Java works the same way: the compiler checks the blueprint (types and classes) in advance, so many mistakes are found before the first run.

What you will learn.

1

Write Java programs

Data types, conditions, loops, methods, arrays and strings.

2

Think in objects

Classes, interfaces, inheritance, records and enums.

3

Work with collections

List, Set, Map, Comparator and generics.

4

Use the Stream API

Lambdas, Optional, map, filter, collect and grouping data.

5

Handle errors and files

Exceptions, reading and writing files, CSV, JSON, dates and time.

6

Finish real projects

Threads, tests, Git, Maven and a developer portfolio.

What you will build.

A console bank

Accounts, transfers, history, errors and tests.

A task manager

Priorities, deadlines, stream queries and CSV storage.

A library app

A catalogue, lending, fines, search and a multi-threaded import.

All topics in order.

15 modules, 150 lessons. Lessons open one by one: the next after you finish the current one. Completed ones get a check mark.

1First stepsJDK, your first program, output and variables.10 lessons
550 XP
  1. What Java, the JVM and the JDK are50 XP
  2. Installing the JDK and the first program50 XP
  3. Program structure: class and main50 XP
  4. Output: System.out.println and print50 XP
  5. Comments and code style50 XP
  6. Variables and literals50 XP
  7. Constants: final and naming rules50 XP
  8. Compiling and running from the terminal50 XP
  9. Compile errors and how to read them50 XP
  10. Practice: a business card in the console100 XP
2Data types and operatorsNumbers, characters, strings, logic and keyboard input.10 lessons
550 XP
  1. Integer types: int and long50 XP
  2. Fractional numbers: double and float50 XP
  3. The char and boolean types50 XP
  4. Arithmetic and operator precedence50 XP
  5. Type casting50 XP
  6. Strings: String and concatenation50 XP
  7. Comparisons and logical operators50 XP
  8. Keyboard input: Scanner50 XP
  9. The Math class and random numbers50 XP
  10. Practice: converter and deposit calculator100 XP
3Conditions and loopsThe program makes decisions and repeats actions.10 lessons
550 XP
  1. if and else50 XP
  2. else if chains50 XP
  3. switch and switch expressions50 XP
  4. The ternary operator50 XP
  5. The for loop50 XP
  6. The while and do-while loops50 XP
  7. break, continue and labels50 XP
  8. Nested loops50 XP
  9. Debugging loops: tracing and the debugger50 XP
  10. Practice: the "Guess the number" game100 XP
4MethodsBlocks of code you can call again and again.10 lessons
550 XP
  1. Declaring and calling methods50 XP
  2. Parameters and return50 XP
  3. void and return values50 XP
  4. Method overloading50 XP
  5. Variable scope50 XP
  6. Recursion50 XP
  7. Variable number of arguments: varargs50 XP
  8. Passing parameters by value50 XP
  9. Documentation: Javadoc50 XP
  10. Practice: a library of math functions100 XP
5ArraysFixed-size lists and the algorithms over them.10 lessons
550 XP
  1. Arrays: creation and indexes50 XP
  2. Iterating: for and for-each50 XP
  3. Sum, minimum, maximum and search50 XP
  4. Sorting and the Arrays class50 XP
  5. Copying arrays50 XP
  6. Two-dimensional arrays50 XP
  7. Arrays and methods50 XP
  8. The ArrayIndexOutOfBoundsException error50 XP
  9. Algorithms: binary search and bubble sort50 XP
  10. Practice: tic-tac-toe100 XP
6Strings and textWorking with text: methods, formatting and parsing.10 lessons
550 XP
  1. String class methods50 XP
  2. Comparing strings: equals50 XP
  3. Immutability and StringBuilder50 XP
  4. Formatting: printf and String.format50 XP
  5. Parsing strings: split and trim50 XP
  6. Characters and the Character class50 XP
  7. Text blocks50 XP
  8. Regular expressions50 XP
  9. Parsing numbers and validating input50 XP
  10. Practice: text analysis100 XP
7Classes and objectsDescribe entities and create objects from them.10 lessons
550 XP
  1. What a class and an object are50 XP
  2. Fields and methods50 XP
  3. Constructors50 XP
  4. this and encapsulation50 XP
  5. Getters and setters50 XP
  6. static: fields and methods50 XP
  7. toString, equals and hashCode50 XP
  8. Enumerations: enum50 XP
  9. record: compact data50 XP
  10. Practice: the "Student and group" model100 XP
8Inheritance and interfacesCode reuse and polymorphism.10 lessons
550 XP
  1. Inheritance: extends50 XP
  2. super and method overriding50 XP
  3. Polymorphism50 XP
  4. Abstract classes50 XP
  5. Interfaces50 XP
  6. default and static methods of interfaces50 XP
  7. Composition vs inheritance50 XP
  8. Nested and anonymous classes50 XP
  9. sealed classes and pattern matching50 XP
  10. Practice: shapes and a zoo100 XP
9Exceptions, packages and testsReliable code: errors, organisation and verification.10 lessons
550 XP
  1. Exceptions: try and catch50 XP
  2. finally and try-with-resources50 XP
  3. Checked and unchecked exceptions50 XP
  4. throw and custom exceptions50 XP
  5. Packages and import50 XP
  6. Access modifiers50 XP
  7. Debugging and logging50 XP
  8. JUnit: the first test50 XP
  9. Testing methods and classes50 XP
  10. Practice: a class with all the checks100 XP
10CollectionsLists, sets and maps.10 lessons
550 XP
  1. Generics: generic types50 XP
  2. ArrayList50 XP
  3. LinkedList and Deque50 XP
  4. HashSet and TreeSet50 XP
  5. HashMap and iterating a map50 XP
  6. TreeMap and LinkedHashMap50 XP
  7. Iterator and Comparable50 XP
  8. Comparator and sorting50 XP
  9. The Collections utilities50 XP
  10. Practice: product inventory100 XP
11Lambdas and the Stream APIA functional style of processing data.10 lessons
550 XP
  1. Functional interfaces50 XP
  2. Lambda expressions50 XP
  3. Method references50 XP
  4. Optional50 XP
  5. Stream: creation and filter50 XP
  6. map and collect50 XP
  7. sorted, distinct and limit50 XP
  8. reduce and numeric streams50 XP
  9. groupingBy and partitioningBy50 XP
  10. Practice: data analytics100 XP
12Files, time and threadsInput/output, dates and parallel tasks.10 lessons
550 XP
  1. Path and Files50 XP
  2. Reading text files50 XP
  3. Writing files50 XP
  4. CSV and JSON by hand50 XP
  5. java.time: LocalDate and LocalDateTime50 XP
  6. Formatting dates and Duration50 XP
  7. Threads: Thread and Runnable50 XP
  8. ExecutorService and Future50 XP
  9. Synchronization and thread safety50 XP
  10. Practice: log processing100 XP
13Project 1: Console bankModel, operations, menu, files and tests.10 lessons
550 XP
  1. Planning the project50 XP
  2. Model: client and account50 XP
  3. Operations: deposit and withdrawal50 XP
  4. The "insufficient funds" exception50 XP
  5. Console menu50 XP
  6. Collections: clients and accounts50 XP
  7. Saving to a file50 XP
  8. JUnit tests50 XP
  9. Review and polish50 XP
  10. Project wrap-up and review100 XP
14Project 2: Task managerRepositories, commands, filters and storage.10 lessons
550 XP
  1. Planning the project50 XP
  2. Task model and the status enum50 XP
  3. Storage and the repository interface50 XP
  4. Commands and menu50 XP
  5. Filters and sorting with streams50 XP
  6. Dates and deadlines50 XP
  7. Storing in CSV50 XP
  8. Handling input errors50 XP
  9. Tests50 XP
  10. Review and polish100 XP
15Project 3 and finaleLibrary app, building, portfolio and the final exam.10 lessons
550 XP
  1. Planning: the "Library" app50 XP
  2. Classes and interfaces50 XP
  3. Search and filters50 XP
  4. Multithreaded data import50 XP
  5. Tests and project review50 XP
  6. Git and GitHub50 XP
  7. Building: Maven and JAR50 XP
  8. The developer portfolio50 XP
  9. What next: Spring, Android and Kotlin50 XP
  10. Final exam100 XP

Is this course right for you?

Who it suits

  • People who need a reliable language for servers and Android
  • People who want a solid foundation for a developer career
  • People who like order and clear rules

What you need to know and have

  • HTML, CSS and JavaScript are not needed for Java: it is a separate direction
  • “Programming Basics” is enough, or simply the desire to learn
  • Code runs on the NoxCode server, so an internet connection is required

Every lesson is four steps.

Theory, questions, practice and a final task. The Nox-AI assistant is always nearby: it gives hints but doesn’t solve the task for you.

  1. 1Theory

    A short explanation with examples.

  2. 2Check yourself

    Questions to check understanding.

  3. 3Practice

    You write code — checking is instant.

  4. 4Challenge

    Lesson summary and XP points.

More about how a lesson works ›    What Nox-AI can do ›

What comes before and after.

← First

Programming Basics

A short overview: how code works and which direction to choose.

About the course →
Next →

Your own projects

After the course you are ready to build your own programs, keep a portfolio and choose advanced directions: Spring, Android, Kotlin.

About the Java course.

Is Java the same as JavaScript?

No. They are two different languages with similar names. Java is a standalone direction: servers, Android and large systems. You can learn it instead of the web courses or alongside them.

Do I need to install the JDK?

No. The code is compiled and run by real Java on our server and the result is shown next to the task. Installing the JDK on your own computer is covered in a separate lesson.

Can I read keyboard input?

Yes. If the code uses Scanner an input field appears in the trainer: one line per read. File work in the trainer uses a temporary folder.

Ready to start?

Open the course and complete the first lesson. Your progress is saved in your account.

Courses