1
00:00:00,060 --> 00:00:03,720
He have understood how to run a Java program.

2
00:00:03,780 --> 00:00:07,770
Why do we take a closer look at the program that we've written.

3
00:00:08,020 --> 00:00:11,960
The hello world application consists of two primary components.

4
00:00:11,970 --> 00:00:17,970
First the hello world class definition and the main method.

5
00:00:17,970 --> 00:00:23,370
Public class hello world is the first line of our Java program.

6
00:00:23,520 --> 00:00:30,960
Every Java application must have at least one class definition that consists of the class keyword followed

7
00:00:30,960 --> 00:00:38,460
by the class name and the code for each class appears between the opening and closing.

8
00:00:38,470 --> 00:00:40,470
Curly braces.

9
00:00:40,490 --> 00:00:46,310
Now we will discuss the subject of classes in further detail and so in the upcoming lectures.

10
00:00:46,340 --> 00:00:54,020
But right now it's just enough to know that every Java application begins with a class definition.

11
00:00:54,110 --> 00:01:00,440
Public static void main String args or arguments.

12
00:01:00,440 --> 00:01:05,590
So this is our next line in the program in the Java programming language.

13
00:01:05,610 --> 00:01:11,460
Every application must contain a main method whose signature is well just like that.

14
00:01:11,850 --> 00:01:18,270
Also will cover how to define a method in Java and the next upcoming lectures.

15
00:01:18,460 --> 00:01:23,300
And then finally line system dot out dot print.

16
00:01:24,530 --> 00:01:25,790
Hello world.

17
00:01:25,790 --> 00:01:34,190
So the print method prints the contents inside the double quotes into the console and inserts a new

18
00:01:34,190 --> 00:01:40,420
line after so it uses the system class from the core library of Java.

19
00:01:40,490 --> 00:01:45,110
Now don't worry if you don't get it at first we're going to learn a whole lot more about classes and

20
00:01:45,110 --> 00:01:47,490
methods in the next lectures.

