Which variables are created when an object is created with the use of the keyword 'new' and destroyed when the object is destroy | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Which variables are created when an object is created with the use of the keyword 'new' and destroyed when the object is destroy

A. Local variable B. Instance Variable C. Class Variables D. Static Variables

14th Nov 2016, 5:15 PM
Prashantha M.P
Prashantha M.P - avatar
7 Answers
+ 3
instance variables
14th Nov 2016, 5:27 PM
Burey
Burey - avatar
+ 1
Instance variable
20th Feb 2023, 4:12 PM
Madhav Muthreja
0
instance variable
30th Jan 2018, 10:03 AM
Sathya priya A.K
Sathya priya A.K - avatar
0
instance...
31st Jan 2018, 3:21 PM
Ashish Shukla
Ashish Shukla - avatar
0
Instance variable
20th Feb 2018, 1:36 AM
Sathya priya A.K
Sathya priya A.K - avatar
- 1
answer for the above question??
14th Nov 2016, 5:15 PM
Prashantha M.P
Prashantha M.P - avatar
- 1
even I was guess that answer only..really its true!!
14th Nov 2016, 5:29 PM
Prashantha M.P
Prashantha M.P - avatar