Java Programming Quiz 5 Java Programming Quiz 5 If Person is a class then what will be stored in its object after the following code? Person p;a. nullb. garbagec. zerod. value assigned by the default constructorPrivate members of a class ……….a. can be accessed in the class only where declaredb. can be accessed by the objects of the class onlyc. can be accessed in all the classes of same packaged. can be accessed by the child classes only………. keyword is used to access the members of parent class in Java.a. superb. parentc. based. father………. method is used to extract a one string from another.a. substring()b. Substring()c. SubString()d. inString()………. keyword is used to refer to the current class.a. childb. superc. thisd. thatIf a class gets all the methods and variables of another class, then it is called ……….a. encapsulationb. inheritancec. polymorphismd. abstraction………. method is used to check whether two strings are equal to each other or not.a. isequal()b. isequals()c. equal()d. equals() Is this true that a class may have one or more than one parent classes?a. yesb. noc. yes, but not in JavaString in Java is considered as ……….a. array of charactersb. data typec. array of characters terminated with null characterd. all of above Is this true that a class may have one or more than one objects?a. yesb. noc. yes, but not in Java