Pergunta de entrevista da empresa Jar (India)

What is are the advantages static members?

Resposta da entrevista

Sigiloso

28 de mar. de 2024

With respect Object Oriented Programming, static member is a member of the class rather than an object. As a result of which, they would not be loaded every time a new object for the class is instantiated. Instead, they are loaded once when the class is loaded and can be used henceforth.