Java Basics - free course from Hexlet, training 37 hours, Date: December 1, 2023.
Miscellaneous / / December 04, 2023
Included in the course
- 29 lessons (video and/or text)
- 35 exercises in the simulator
- 111 verification tests
- Additional materials
- Help in "Discussions"
What will you learn
- Create simple programs using basic language constructs (conditions, loops, methods, etc.)
- Separate code into methods for reuse
- Correctly analyze errors in code and use debug printing when searching for them
You'll become familiar with data types in Java and learn more about methods, conditions, loops, and other basic language constructs. As a result, you will learn to write simple programs, use and define methods, find and analyze errors in the code. The knowledge from this course will help you gain a basic understanding of the Java language, its principles and features. This course is suitable for both those new to programming and those learning a new language.
Tests
These are practical tasks that we recommend completing after completing the course. The assignments will help you gain additional experience in programming and consolidate your acquired skills. Typically we recommend completing 3-5 tests. But if it doesn't work out, don't despair. Just come back to them later.
1. Introduction
Get to know the course
theory
2. First program
Writing our first program in Java
theory
tests
exercise
3. Statements
Learning the basics of building programs in Java
theory
tests
exercise
4. Design, syntax and linter errors
We study an important part of a programmer’s job - ways to correct errors.
theory
tests
exercise
5. Arithmetic operations
Let's translate arithmetic operations into a programming language
theory
tests
exercise
6. Strings
Learning to work with strings, exploring escape sequences and concatenation
theory
tests
exercise
7. Variables
Learn to store information and reuse existing data
theory
tests
exercise
8. Naming
Learning to name variables correctly
theory
tests
exercise
9. Data types
What are types, what are they, and who breeds them?
theory
tests
exercise
10. Calling Methods
Learn to use ready-made methods
theory
tests
exercise
11. Method call - expression, string immutability
Learn to use the results of the methods
theory
tests
exercise
12. Method call chains
Let's learn how to call a method based on the result of calling the previous one and build chains of calls
theory
tests
exercise
13. Determinism
We study some properties of methods and features of their work
theory
tests
exercise
14. Standard Library
Let's get started with the standard library
theory
tests
exercise
15. What are the methods?
Let's find out what methods exist in Java
theory
tests
exercise
16. Defining Methods
Creating our first method
theory
tests
exercise
17. main method
Let's figure out what the main method is for
theory
tests
exercise
18. Returning values
Learning to use the result of a function
theory
tests
exercise
19. Method parameters
Learning to pass data to a method
theory
tests
exercise
20. Optional Method Parameters
Finding out how method overloading works
theory
tests
exercise
21. Logical operations
Let's learn how to use logical expressions and write predicate methods
theory
tests
exercise
22. Logical operators
Learning to combine logical operations
theory
tests
exercise
23. Conditionals
Learning to control program behavior depending on different conditions
theory
tests
exercise
24. Switch design
Let's understand what the Switch design is and in what cases to use it
theory
tests
exercise
25. while loop
Understanding how to write programs to perform repetitive actions
theory
tests
exercise
26. Using Loops
Using loops to solve practical problems
theory
tests
exercise
27. Conditions inside the loop and returning values
Learning to control a program in the body of a loop
theory
tests
exercise
28. for loop
Exploring an alternative to the while loop
theory
tests
exercise
29. Packages
Learning to organize your code into packages
theory
tests
exercise
30. Additional materials
Articles and videos curated by the Hexlet team. Will help you dive deeper into the topic of the course