give an example of instance variable
Answers
Answered by
9
Answer:
An instance variable is a variable defined in a class (i.e. a member variable) in which each instantiated object of the class has a separate copy, or instance. Every object has it's own copy of the instance variables. .
hope it will help you.....❣️
Answered by
0
An instance variable is a variable defined in a class (i.e. a member variable) in which each instantiated object of the class has a separate copy, or instance. Every object has it's own copy of the instance variables
Hope it's helpful.
Have a great day ahead
Similar questions