Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLuke Chulack
605 PointsNeed help with instances
i understand how class work i just need a little help on instances.
MZ140542 Edwin Chawabvunza
2,432 Pointslisten to this then re-post you question https://videos.teamtreehouse.com/videos/Forum-AskAQuestion-720p.webm?token=558bf446_2d7ea01782385760dd9cd7ffb7b8617e68c8b7cf
1 Answer
Jeremy Fisk
7,768 PointsConsider a class to be a fairly generic outline: an example might be of vehicles. The class could be the ford mustang that has class attributes common to all ford mustangs such as a steering wheel, 2 front seats, a row back seat, a certain range of color possibilities, interior possibilities (i.e. vinyl, leather, etc.), . An instance of that class could be considered a specific ford mustang with a certain VIN number specific to that instance; specific color, interior, transmission, etc.
Matthew Rigdon
8,223 PointsMatthew Rigdon
8,223 PointsCan you be more specific? Perhaps give an example.