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 trialWAI HEIN
1,640 PointsDeclare instance variable without know belong the class
Hi All
How would you declare the following instance if you didn't know which class it belongs to?
I have no idea for solve this issue. Please help for me,
Regards Wai
1 Answer
james white
78,399 PointsHi Wai Hein, When you said:
"I got this result."
..it would have been nice if you let others know what the result was that you got!
For other people that happen upon this non-responsive forum thread,
here's another thread that had a better response: https://teamtreehouse.com/forum/how-would-declare-the-following-instance-if-you-didnt-know-which-class-it-belongs-to
WAI HEIN
1,640 PointsWAI HEIN
1,640 PointsI got this result.