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 trialrohit singh
54 Pointshelpme
vx
cxv
1 Answer
Steve Hunter
57,712 PointsHi Rohit,
What are you struggling with here?
The challenge asks you to wrote out a template for a public class
called Forecast
. Then you need to add some private
member variables with the names given, two are of type int
and one is a double
.
To get you started, the class is a public class, so type that. Then name it Forecast
- add two braces and that's it! :
public class Forecast {
}
Now add the member variables. Good luck!
Let me know how you get on.
Steve.