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;





Private members of a class ……….





………. keyword is used to access the members of parent class in Java.





………. method is used to extract a one string from another.





………. keyword is used to refer to the current class.





If a class gets all the methods and variables of another class, then it is called ……….





………. method is used to check whether two strings are equal to each other or not.





Is this true that a class may have one or more than one parent classes?




String in Java is considered as ……….





Is this true that a class may have one or more than one objects?