Assume java.util.Date[] dates = new java.util.Date[10], which of the following statements are true? A. dates is null. B. dates[0] is null. C. dates = new java.util.Date[5] is fine, which assigns a new array to dates. D. dates = new Date() is fine, which creates a new Date object and assigns to dates. {Ans: B. dates[0] is null. C. dates = new java.util.Date[5] is fine, which assigns a new array to dates.}To declare a constant MAX_LENGTH as a member of the class, you write A. final static MAX_LENGTH = 99.98; B. final static float MAX_LENGTH = 99.98; C. static double MAX_LENGTH = 99.98; D. final double MAX_LENGTH = 99.98; E. final static double MAX_LENGTH = 99.98; {Ans: E. final static double MAX_LENGTH = 99.98;}Variables that are shared by every instance of a class are __________. A. public variables B. private variables C. instance variables D. class variables {Ans: D. class variables}Show and Explain the output of the following program when it run from command line using the following command ( line numbers are not a feature of a code) : java Test I have a dream 1: public class Test { 2: public static void main(String[] args) {