Get in and get started - Java development practically explained, for all future Java masters!
This video provides a brief overview of the course and the structure of the modules.
The video shows why Java is absolutely suitable as a language for learning programming and what advantages it offers.
This video is generally dedicated to the topic of "learning to program". How can you learn a language? What methods and approaches are there? And since the course can only be the beginning: What happens afterwards?
We show you where you can find help, both during and after the course, in addition to the usual channels.
How you work with the course is up to you. However, the tips presented here are based on experience and show you how to get the most out of the content.
Even before we start programming: how does Java work? What role does the so-called bytecode play? What is bytecode anyway? How does C++, for example, differ in this respect?
Installing the Java Development Kit (JDK) is a mandatory exercise for developing with Java. This is the only way to follow the rest of the course. We will show you how to do this here.
A development environment (IDE) goes far beyond the function of a "normal" text editor. It includes the editor, color highlighting of syntax, error messages, debugger, logic for translating programs, etc. We work with IntelliJ IDEA in the course and show the first steps with the program.
You write your first program, create your first variable and output its content. Also a few words about the organization of the source code.
How is Java translated/compiled? Work with the javac. Also: Bytecode/.class files and executing Java programs.
How can you find errors in software? A few words about syntax errors and how to find logical errors with a debugger.
Now it's all about the basics of variables. Specifically, the video covers data types, memory requirements in RAM, declaring variables and assigning values.
In the second part on variables, you will expand your knowledge of variables. It deals with best practices and rules that you must adhere to.
What are primitive data types? Which ones are there? About the memory consumption of data types. Here is a link to the ASCII table mentioned.
What are complex data types? A few words about the wrapper classes for primitive data types, including an example of the Integer type/class.
Converting data type A to data type B using casting. You will learn about the syntax and what problems can occur due to possible loss of information.
You will learn about arrays, how to use them and how to access the individual elements.
Arrays can also be "multi-dimensional". In other words: arrays can also be stored in an array. We show how this works.
Source code becomes easier to understand if you enrich it with comments. In this video you will learn how to do this.
Arithmetic operators are the basis of every arithmetic operation. In the first part, you will learn the basics.
The second part on arithmetic operators deals once again with advanced concepts such as short syntax and the increment or decrement operator.
You will learn how to use comparison operators smaller, larger, larger equal/smaller equal and similar comparisons in your Java software.
You can use logical operators to link expressions and change their meaning. You will learn how to do this in this video.
Expressions or individual parts of expressions are evaluated with different priorities in Java. You will learn the most important rules in this video.
In order to work successfully with Java, the scopes must be known and understood. Especially developers who come from other languages often fall "on their nose" here.
The knowledge from the first video on the topic of scopes was the basis on which we will now build in the second part.
Without conditions, software would be unthinkable. Accordingly, we take an in-depth look at the topic.
We continue our journey through the world of conditions in this second part.
Case distinctions are possible with the switch() statement. You will learn about the syntax, benefits and use.
Exceptions are exceptions in the program flow. For example, they signal errors, invalid input formats and the like. Here you will learn how to react to exceptions and catch them with try/catch blocks.
In this video, you will learn how program code can be executed repeatedly using loops. Specifically, it is about the so-called while() loops.
In addition to while() loops, there is another loop construct: for() loops. You will learn about them in this video. You will also learn about nested loops (loops within loops).
You will get to know the so-called do/while loop and what is special about it.
Object orientation is on the program! You will get to know the general concept. We show that it is based on the "physical world".
Classes and objects are the Java developer's bread and butter. Let's take a look at the basics.
Building on the knowledge from the first part, we will expand your wealth of experience around the topic of objects and the special reference "this".
Classes and objects without methods would only be containers, data structures in which values can be stored. In this video, you will learn how to fill them with life.
Constructors are special methods that are executed when a class is created. In this video, you will learn how to use them.
Attributes or properties are an important part of classes. You will learn how to use them in this video.
Packages offer the possibility of structuring the source code. The first part deals with the basics.
The Java packages are also a namespace in their own right. We will go into more detail about their use in everyday practice.
Now we will break down what is behind the keywords "public", "private" and co. The concept of data encapsulation is on the agenda.
The second video on modifier keywords such as "public" and "private" is also important. It is about best practices and how they are used in practice.
An "interface" is a type of contract that specifies which methods are to be implemented. Using an example, you will learn how this works in practice and what it can be used for.
Inheritance is an important concept that opens up many possibilities in software architecture. Here we start with the most important basics.
In the second part on inheritance, we will deepen your knowledge and delve even deeper into the topic.
Abstract classes and methods are an important stylistic device for the architecture of object-oriented software. You will learn how the keyword "abstract" is used in Java.
You have already learned how to react to exceptions. Now you will learn how to throw exceptions yourself, how to create your own exception classes and why this can be useful.
Methods can call themselves. This is known as recursion. You will learn how to use them here.
JavaDoc can be used to document Java source code very extensively without much additional effort. We show the basic procedure in this video.
In the second video on JavaDoc, we expand our knowledge of the available JavaDoc doclets.
Data input and output is an important part of software. In this video you will learn how this works.
You will get to know the complex data type "string". Up to now, you have always dealt with character strings indirectly. Now you will delve deeper into the subject.
We intensify our work with strings a little more and look at further methods of the String class.
The need for random numbers is more common than you might think. In this video, we show you how to generate them in Java.
Now it's getting graphical! The first joint GUI application with Swing is implemented.
In order for the graphical elements to be usable, they must listen to the user's actions. You will learn the basics in this video.
The application from the first part on the topic of inputs is now being expanded. You will also learn how to access elements after a click.
The arrangement of the elements was previously only taken over by Java. Now you will learn how the layout can be influenced.
Containers can be nested. There are also other layouts. In this video you will learn about further design options.
A slightly more complex application shows how several components can be used together. Here we combine JTextField, JList and JButton.
Using the example of "dialogs", you will learn what modal windows are and how, for example, a rudimentary help dialog can be set up.
The final project is coming up. In this video we present the task.
I present a possible solution for the final project, including considerations for implementation.
We look at the sample solution together in the debugger.
Comment now „Java development for beginners“