Computer Science, asked by tapasyathakor, 1 year ago

when will you use instance variable and class variable

Answers

Answered by XxUnknownxX
2

Answer:

Wait.......

Explanation:

Well.....

Here is the response.....

Pls follow me

A variable which is defined in class and instantiated with the creation of object is an Instance variable since the scope of such variable is limited only for that object. Instances variables are declared without Static modifier and can be used within the context of the object of the class.


tapasyathakor: thanks brother
XxUnknownxX: pls follow me bro
Similar questions