Static Keyword: The Most Misunderstood Concept in Programming

preview_player
Показать описание
In Java, the `static` keyword indicates that a member (variable, method, or block) belongs to the class rather than to instances of the class. Static members are shared by all instances and can be accessed without creating an object of the class. For example, static methods can be called directly using the class name.

Timestamps
00:00 Introduction
00:12 Contents
00:37 Static Variables (Defination and usage)
01:10 Example of Static Variables
01:50 Static Method (Defination and Usage)
02:43 Example of Static Variables
03:22 Static Block (Defination and Usage)
03:58 Example of Static Block
04:37 Static Class (Defination and Usage)
05:29 Example of Static Block
06:20 Recap
08:50 Thanks for Watching (Subscribe,Like,Share and comment)
Рекомендации по теме
join shbcf.ru