Use And Condition with Filter in Lambda Expressions in Java 8

package nilpointer.net;

import java.util.ArrayList;
import java.util.List;

public class Demo {

	public static void main(String[] args) {

		List<Integer> numbers = new ArrayList<Integer>();
		numbers.add(5);
		numbers.add(2);
		numbers.add(11);
		numbers.add(-9);
		numbers.add(7);
		numbers.add(-4);
		numbers.stream().filter(p -> p >= 5 && p <= 10).forEach(number -> {
			System.out.print(number + "  ");
		});

	}

}
5  7