Prepare a java code that evaluates the product.
Program: Write a java code that calculates the product of the subsequent sequence of numbers using for/loop and do/while/loop
6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,9
Solve this Program using java programming concepts.