00:01
In this video, we will write a program that displays three different messages in java.
00:06
We can begin by defining our class.
00:10
Every java program must have at least one class.
00:14
Each class has a name.
00:16
If i can mention the name will start with an uppercase letter like we see here.
00:21
We'll follow this definition by brackets.
00:24
These brackets will encompass the code we write inside of the class.
00:29
We can indent here and start writing our art or text.
00:31
Main method, which will also be plotted by brackets, that will contain the code we want to write in this method specifically.
00:47
Then we want to end up twice, so we can type in the main method.
00:51
We'll create some space.
00:53
So before we start displaying messages, i'll note that this is called the class block.
01:08
And here, this is the method block.
01:17
I'll also point out some words that might not be familiar.
01:23
The word public is an access modifier.
01:25
This specifies from where and who can access the method.
01:28
So making the main method public makes it globally available.
01:35
Besides that, we have static...