Question
a.
Will continue to get inherited subsequently
b.
Will not be inherited after one subclass inheritance
c.
Will not be available to be called outside class
d.
Will not be able to allocated with any memory space
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. In multi-level inheritance(all public) , the public members of parent/superclass will ________
Similar Questions
Discover Related MCQs
Q. If a class doesn’t have public members, then________
View solution
Q. Which among the following is true for public class?
View solution
Q. Which specifier can be used to inherit protected members as protected in subclass but public as public in subclass?
View solution
Q. A class has its default constructor defined as public. Class B inherits class A privately. The class:
View solution
Q. Which among the following for public specifier is false?
View solution
Q. How many public class(s) (outermost) can be there in a java program?
View solution
Q. If members of a super class are public, then________
View solution
Q. We can reduce the visibility of inherited methods.
View solution
Q. Which among the following can be used for outermost class access specifier in java?
View solution
Q. Which among the following have least security according to the access permissions allowed?
View solution
Q. If the members have to be accessed from anywhere in program and other packages also, which access specifier should be used?
View solution
Q. If a class have default constructor defined in private access, and one parameter constructor in protected mode, how will it be possible to create instance of object?
View solution
Q. Protected access is same as default access that is given implicitly in java if no specifier is mentioned.
View solution
Q. Which among the following can use protected access specifier?
View solution
Q. If protected members are to be accessed from outside the class then__________
View solution
Q. If protected inheritance is used then _____
View solution
Q. If all the members are defined in protected specifier then ( Constructors not considered ):
View solution
Q. Protected members differ from default members as_______
View solution
Q. If the protected members are to be made accessible only to the nearest subclass and no further subclasses, which access specifier should be used in inheritance?
View solution
Q. If a constructor is defined in protected access, then.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Cyber Security
Understand the fundamentals of safeguarding digital assets with our Cyber Security...
Operating System
Dive deep into the core of computers with our Operating System MCQs. Learn about...
Java Programming
Level up your coding skills with our Java Programming MCQs. From object-oriented...