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 trial

Java Java Objects Delivering the MVP Forum

Botan Mustafa
Botan Mustafa
4,222 Points

User

hey guys! i have a problem with formPost.java, the first one is typed "private user author", why it is like that ? why its not String or other data types ???

1 Answer

Steven Parker
Steven Parker
231,271 Points

The "User" type is a class defined in "User.java". It contains two strings within it, a firstName and a lastName.