Java Programming - 37 - The static keyword

preview_player
Показать описание
The static keyword and its uses in programming, as well as a brief general explanation of why it is used to define the main method. Though some of these topics may be a bit confusing, try to review them and review the video if needed until you have a firm grasp of the concepts. Thanks for watching, I really appreciate it ;)
Рекомендации по теме
Комментарии
Автор

This REALLY helps to demo the difference. Thanks!

JonathanRose
Автор

You made me understand this so well. Thank you!

silves
Автор

Why is it that when I declare variables outside my main method but inside the class that has the main method has to be declared as static?  Like e.g.

public class Example{
 
       public static int numberOfWords;
       public static void main(String[] args){

 }
}

Claymore
join shbcf.ru