Talking City



Go Back   Talking City > Coding and Programming > JavaScript programming
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2016, 06:25 PM
priya.sharma priya.sharma is offline
Senior Member
 
Join Date: Aug 2016
Posts: 100
priya.sharma is on a distinguished road
Default Instance Variable

What is a Instance Variable?

Reply With Quote
  #2  
Old 10-10-2016, 04:48 PM
Shubham Kumar Shubham Kumar is offline
Junior Member
 
Join Date: Aug 2016
Posts: 16
Shubham Kumar is on a distinguished road
Default

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +5.5. The time now is 01:24 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Talking City Managed by Megrisoft