High in this tutorial we would start looking at DOT we first type in that pet into all girls or women
and opened the first website you on the website.
We can look at different parts of Darte because we can run that code here and look what we get out if
we run it.
So we we will use that pet to compile different pieces of that cold and look at its functionality.
So we will start by raising everything we see here and click run to run the code.
So we have no compiled code and we got an error and the error says we need a main method.
So what's this main method.
We just saw the main method in why it's made and this is the function for start.
So function holds some piece of code and we can then run this function and the piece of code gets executed.
And this main function is special because it is a starting point for dot.
So every everything will start from this Methot means if you have multiple methods you can execute them
here.
And Dot will look for the main method and then execute ever seeing that stance.
It will talk about methods later.
That's another topic we are just at the beginning so this is our main method and you always need your
main method.
If you Smidt if you use a dot and this way it simply means that you don't have return value.
And what does what this exactly means.
We will see and some later to Torah as well because it's more a topic for a different kind of message
it's soul.
But we can say this is our starting point and we declare it by type and void main then these two brackets
and then these brackets here.
This is our method body we call it we're seeing what stands between this and this bracket get execute
and we can make a simple print to all.
A saying print.
And if we we have to use a semicolon at the end at every line.
And if he click run we get high.
So is this all first part simple simple dot application.
If you want to.
We learn that this is our starting point.
We talk about message later.
The starting point our main method is the point where the program starts to run and we're seeing get
executed from this pond on.
And in this next video we talk about different kinds of.