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 Meet Objects Refresher

whaaaat do i do

5what the freak so i do

2 Answers

// a > b indicates that a is greater than b
// a < b indicates that a is less than b
// a == b indicates that a is equal to b
// a != b indicates that a is not equal to b
// a && b will be true if a is true AND b is true
// a || b will be true if a OR b is true

String a = "Hello World";
String b = "World";
// to check if a contains b:
System.out.println(a.contains(b));
//Will print out true
edmond habimana
PLUS
edmond habimana
Courses Plus Student 8,352 Points

What is the question for the exercise? if i know the question then i can help you.