Write a Java program that uses a while-loop to check for all numbers between 0 and 500 that are: 
(a): a multiple of 5 and 7 
(b): a multiple of 5 or 7 
The program should print in the format of the sample output below. 
Sample Output 
0 is a multiple of 5 or 7 
5 is a multiple of 5 or 7 
7 is a multiple of 5 or 7 
10 is a multiple of 5 or 7 
...etc... 
35 is a multiple of 5 and 7 
40 is a multiple of 5 or 7 
...etc...