What is a Instance Variable?
Instance Variable
Collapse
X
-
Tags: None
-
Instance variables is a variable which declare within a cl*** for which each instantiated object of the cl*** has a separate copy.
* Its basically creates with 'New' keyword.
* It can be used by all method/function of a cl*** unless method/function defined as static.
* Instance variables can be declared in cl*** level before or after use.
* Access modifiers can be given for instance variables.
Comment