0

What is the meaning of static keyword and its use.

23rd Feb 2017, 2:22 PM
Mokshal Shah
2 Réponses
23rd Feb 2017, 6:41 PM
ChaoticDawg
ChaoticDawg - avatar
0
usually, it means in a POO languaje that you don't need to make an object to use it, so, if you have a static method called idGenerator in a Security Class, you don't need to do: Security myObject = new Security(); string id = myObject.idGenerator(); instead string id = idGenerator(); sorry for my English, I'm from México
23rd Feb 2017, 2:29 PM
Francisco Gerardo Mares Solano