From 4b326fbcc5dea2b8dc55e851432f62c9a57e2b66 Mon Sep 17 00:00:00 2001 From: Vidyoot Senthil <74870683+vid277@users.noreply.github.com> Date: Mon, 2 May 2022 13:47:55 -0500 Subject: [PATCH] Update 02_.md --- 07_Object Oriented Programming/00_Objects/05_Static/02_.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07_Object Oriented Programming/00_Objects/05_Static/02_.md b/07_Object Oriented Programming/00_Objects/05_Static/02_.md index a4caecc..58ec59f 100755 --- a/07_Object Oriented Programming/00_Objects/05_Static/02_.md +++ b/07_Object Oriented Programming/00_Objects/05_Static/02_.md @@ -1,4 +1,4 @@ -We don't need to create a new object to access "static" members of a class. We call the class name and use "dot notation" to specify the member we want to access. Static members are attached to a class rather than an object or an instance of the class. +We don't need to create a new object to access "static" members of a class. We call the class name and use "dot notation" to specify the member we want to access. Static members are attached to a class rather than an object or an instance of the class. This means that static methods and objects of the class can be accessed without having to create an instance of the class. As a programmer, it is important to note that since there is only one version of the "static" members, when the variable's value is changed, the value of that variable is changed for every object in the class.