public class CodeSnippets { public static void main(String[] args) { System.out.println("a) Print only the negative numbers stored in the integer array a"); int[] a = {-3, 4, -5, 5, 3, -1, -6,7}; // sample array for(int i=0; i