a)Declare an array to store objects of the class defined by the UML above. Use a method from the JOption class to request the length of the array from the user.
b) Use a method from the JOptionPane class to request values from the user to initialize the instance variables of the Election objects and assign these objects to the array. The array must be filled.
