Exam Sample QuestionVersión en línea A test sample question for the Java Programming Certification (Associate) por Elena Conde 1 Which of the following are true about the "default" constructor? Choose one or more answers a It is provided by the compiler only if the class does not define any constructor. b It is provided by the compiler if the class does not define a 'no- args' constructor. c It initializes the instance members of the class. d It calls the default 'no-args' constructor of the super class. e It initializes instance as well as class fields of the class. 2 You want to find out whether two strings are equal or not, in terms of the actual characters within the strings. What is the best way to do this? a Use String's equals method. b Use String's --equalsIgnoreCase-- method. c Use == operator. d Use String's match method. 3 Which of the following statements are true? a For any non-null reference o1, the expression (o1 instanceof o1) will always yield true. b For any non-null reference o1, the expression (o1 instanceof Object) will always yield true. c For any non-null reference o1, the expression (o1 instanceof o1) will always yield false. d For any non-null reference o1, the expression (o1 instanceof Object) may yield false. e None of the above.