which of the following statement is true - p1 is an object of person type / p1 is an instance of object person | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

which of the following statement is true - p1 is an object of person type / p1 is an instance of object person

28th Oct 2016, 12:40 PM
Vinu Mon
1 Answer
0
I believe the first. Honestly I only covered objects and stuff the other day. But I believe the if the code is: var p1 = new person then the first would be true, p1 is an object of the type 'person'
28th Oct 2016, 2:30 PM
Pink Lemonade