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 Basics Perfecting the Prototype Conditional ints

Create an integer that stores "number of people" ( Use camel case). Set the value to 3.

how to creat this with camel case?

Conditional.java
int nameofpeople = 3;

2 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Chinmaye;

Welcome to Treehouse!

Camel case naming convention means that you capitalize all of the interior words of a variable name. So, for this challenge, "number of people" would become "numberOfPeople' in camel case.

Hope it helps.

Happy coding,
Ken

Thanks for your respond!!

That would be... int numberOfPeople = 3; try that!