public static int getClosestToZero(int[] a) {
		/*
		 * Please implement this method to return the number in the array that
		 * is closest to zero. If there are two equally close to zero elements
		 * like 2 and -2 - consider the positive element to be "closer" to zero.
		 */

		// maximalen Integer-Wert zuweisen
		int closest = Integer.MAX_VALUE;

		// ber Array iterieren
		for (int i : a) {
			// ist der Wert nher an 0 als einer der bisherigen
			if (Math.abs(i) < Math.abs(closest)) {
				closest = i;
			} else {
				// falls gleicher Abstand, aber positiver Wert
				if (Math.abs(closest) == Math.abs(i) && i > closest) {
					closest = i;
				}
			}
		}
		return closest;
	}