Instance Variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priya.sharma
    Senior Member
    • Aug 2016
    • 105

    Instance Variable

    What is a Instance Variable?
  • Shubham Kumar
    Junior Member
    • Aug 2016
    • 16

    #2
    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

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎