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 trialClayton Malarkey
12,109 PointsIm having trouble getting this code to work
this is my code public class PictureBook { public String mTitle(){ return ""; } } it gives me the error saying i need to declare a varible with the class mTitle but that would not be right as thats the name of the member and the name of the class is PictureBook, how do I get this code to work thanks.
1 Answer
Clayton Malarkey
12,109 PointsFound the problem it was not as complex as I thought the problem was. All I had to do was a simple delclaration