adplus-dvertising
frame-decoration

Question

If an abstract class has all the private members, then _________

a.

No class will be able to implement members of abstract class

b.

Only single inheritance class can implement its members

c.

Only other enclosing classes will be able to implement those members

d.

No class will be able to access those members but can implement.

Answer: (a).No class will be able to implement members of abstract class

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If an abstract class has all the private members, then _________

Similar Questions

Discover Related MCQs

Q. Which access specifier should be used so that all the parent class members can be inherited and accessed from outside the class?

Q. Which access specifier is usually used for data members of a class?

Q. Which specifier should be used for member functions of a class?

Q. If a function has to be called only by using other member functions of the class, what should be the access specifier used for that function?

Q. Which among the following is correct to call a private member from outside the class?

Q. If private members has to be accessed directly from outside the class but the access specifier must not be changed, what should be done?

Q. Which access specifier is/are most secure during inheritance?

Q. Private member functions can be overloaded.

Q. Which among the following best describes the protected specifier?

Q. If a constructor is defined in protected access, then.

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?

Q. Protected members differ from default members as_______

Q. If all the members are defined in protected specifier then ( Constructors not considered ):

Q. If protected inheritance is used then _____

Q. If protected members are to be accessed from outside the class then__________

Q. Which among the following can use protected access specifier?

Q. Protected access is same as default access that is given implicitly in java if no specifier is mentioned.

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?

Q. If the members have to be accessed from anywhere in program and other packages also, which access specifier should be used?

Q. Which among the following have least security according to the access permissions allowed?