Java Basics - free course from Hexlet, training 37 hours, Date: December 1, 2023.
Miscellaneous / / December 04, 2023
The training covers the basics of Java programming and explains important basics: data types and their representation in the language, naming standards, and string encoding. After the course, you will begin to understand how errors are corrected and how side effects occur.
Learning Java programming from scratch is not easy, so during training you will be putting theory into practice. From the very first lessons, you will begin to do exercises that will help you quickly get used to the peculiarities of the language. The knowledge from this course will help you gain a basic understanding of the Java language, its principles and features. This is a beginner's Java course, so it's suitable for those new to programming as well as those learning a new language.
Included in the course
- 29 lessons (video and/or text)
- 35 exercises in the simulator
- 95 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
Introduction
Get to know the course
First program
Writing our first program in Java
How to Study Effectively on Hexlet
We explain how the Hexlet training system works. What do the lessons consist of? What to do if it is not clear? How to do an internship? In what order should I take the courses?
Statements
Learn the basics of building programs in Java
Design errors (syntax and linter)
Correcting errors is an important part of a programmer's job. In this lesson we study types of errors and ways to solve them.
Arithmetic operations
Let's translate arithmetic operations into a programming language
Strings
Learn to work with strings, explore escape sequences and concatenation
Variables
Learn to store information and reuse existing data
Naming
Learning to name variables correctly
Data types
What are types, what are they, and who breeds them?
Calling Methods
Learn to use ready-made methods
Method call - expression, string immutability
Learn to use the results of the methods
Method call chains
Learn to call a method based on the result of calling the previous one and build chains of calls
Determinism
Study some properties of methods and features of their work
Standard Library
Let's get started with the standard library
What are the methods?
Let's find out what methods exist in Java
Defining Methods
Create your first method
Method signature
Become familiar with the concepts of signature and method contract. Learn to return data from methods and pass it inside using parameters. Learn how to declare optional parameters (method overloading)
Logical operations
Learn to use logical expressions and write predicate methods
Logical operators
Learn to combine logical operations
Conditionals
Learn to control program behavior depending on different conditions
Switch design
Understand what the Switch design is and when to use it
while loop
Learn to write programs to perform repetitive actions
Using Loops
Using loops to solve practical problems
Conditions inside the loop and returning values
Learning to control a program in the body of a loop
for loop
Explore an alternative to the while loop
Additional materials
Articles and videos curated by the Hexlet team. Will help you dive deeper into the topic of the course