Java Tutorial: Working With Static Methods 1

preview_player
Показать описание
This tutorial teaches you what are static methods, value and non-value returning static methods and how to call them.
Рекомендации по теме
Комментарии
Автор

Damn, dude, that had to be such a clear explanation on the difference between a static method and a non static method. Respect.

louis
Автор

Thanks for the explanation on this. Sometimes these tutorials get lost trying to explain too much, but you nailed the concepts here. Loving it. 

braveknight
Автор

Your tutorial is very good. I enjoyed your video and I learn something too. Thanks.

carvelbell
Автор

In Java, we code one main method per application. If application has only one class then main method is written in that class. If application comprises of multiple files then main method is written in only one of the class. The class that has the main method is the executing file of the application. In short, you code one main method per application. Purpose of main method is to allocate resources on behalf of the application. I hope that answers the question.

ProfessorSaad
Автор

that was a great explanation, thank you so much for this tutorials

StefanBanu
Автор

Thanks very straight-forward explanation

adewolerufai
Автор

i have a question,
the method main is a static method, why we can use it every time in any class that we create, i mean the main method belongs to who?to what class?

thanks

StefanBanu
Автор

Did organize imports but no pop ups appeared. What else to do?

-alogicaljoke
welcome to shbcf.ru