Write Java variable declarations to create (but not initialize)
(a) a single-dimensioned array to contain the answers to 20 true/false quiz questions
(b) a single-dimensioned array to contain the average family size in the years 1900, 1910, 1920, ... 2010
(c) a 2D array to contain the total number of inches of rainfall for a city in each of twelve months, recorded over a period of 5 years.
(d) a single-dimensioned array to contain the 8 candidates in some election, represented by Candidate objects. You should also define a Candidate class with private instance variables for the person’s name and the number of votes received. Don’t bother defining any constructors, setters, getters or other instance methods.Attachments