+1 (218) 451-4151
glass
pen
clip
papers
heaphones

1. Write a short Java method, isMultiple, that takes two long values, n and m, and returns true…

1. Write a short Java method, isMultiple, that takes two long values, n and m, and returns true…

1. Write a short Java method, isMultiple, that takes two long values, n and m, and returns true if and only if n is a multiple of m, that is, n = mi for some integer i.2. Write a short Java method, isEven, that takes an int i and returns true if and only if i is even. Your method cannot use the multiplication, modulus, or division operators, however.