What is an instance of class | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What is an instance of class

25th Feb 2018, 4:56 PM
jansi
jansi - avatar
4 Answers
+ 7
A class is a type of object. Every object of a given class is an instance of that class. Like a token to a type.
25th Feb 2018, 5:40 PM
Pedro Demingos
Pedro Demingos - avatar
+ 3
Object 'Fido' is an instance of class 'Dog'. https://code.sololearn.com/cNsvZLMDhScA/?ref=app
5th May 2018, 10:11 AM
Johannes
Johannes - avatar
0
You can think "instance of a class" defines to an extension of a type. A car can be the instance of class vehicle. Vehicle is the class, car is the newly created object for that class.
15th Apr 2018, 12:35 PM
jude
0
the object of class . just (or name of object)
22nd Apr 2018, 6:15 PM
Jones Youngblood