Computer Science, asked by jhunulata2002, 4 months ago

Write a program to distinguish the properties of static and non static ata members

Answers

Answered by ShreyaCutiepie1
0

Answer:

a static vary

Explanation:

A static variable acts as a global variable and is shared among all the objects of the class. A non-static variables are specific to instance object in which they are created. Static variables occupies less space and memory allocation happens once

Similar questions