Java Programming Quiz 3 Java Programming Quiz 3 Which of the following statement can check only equal values?a. ifb. switchc. both if & switchd. ternary operatorA Java program is composed of ……….a. identifiersb. keywordsc. both keywords and identifiersd. keywords and reserved words onlyIs this true that every class must have at least one public method?a. yesb. noA method declared as ‘final’ cannot be ……….a. overriddenb. overloadedc. overloaded nor overridedd. accessed by the objects A ………. member of a class is shared among all the objects of the class.a. staticb. non-staticc. finald. public………. package is automatically imported in all Java applications.a. java.basicb. java.allc. java.utild. java.langExceptions are also called ……….a. syntax errorsb. logical errorsc. runtime errorsd. All of theseWhich of the following is not a keyword in Java?a. javab. breakc. continued. mainWhich of the following operator is used for memory allocations of arrays?a. newb. allocc. mallocd. new mallocEvery class must have a main method in it.a. yesb. no