adplus-dvertising
frame-decoration

Question

Which among the following is correct advantage/disadvantage of nested classes?

a.

Makes the code more complex

b.

Makes the code unreadable

c.

Makes the code efficient and readable

d.

Makes the code multithreaded

Answer: (c).Makes the code efficient and readable

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is correct advantage/disadvantage of nested classes?

Similar Questions

Discover Related MCQs

Q. How to access static nested classes?

Q. A nested class can have its own static members.

Q. How to create object of the inner class?

Q. Instance of inner class can exist only _______________ enclosing class.

Q. If a declaration of a member in inner class has the same name as that in the outer class, then ________________ enclosing scope.

Q. A static nested class is _____________ class in behavior that is nested in another _________ class.

Q. Which among the following best defines static variables members?

Q. Which keyword should be used to declare static variables?

Q. Any changes made to static data member from one member function _____________

Q. Which is the correct syntax for declaring static data member?

Q. The static data member ______________________

Q. The syntax for defining the static data members is:

Q. If static data members have to be used inside a class, those member functions _______________

Q. The static data member __________________________

Q. Which among the following is correct syntax to access static data member without using member function?

Q. Which data members among the following are static by default?

Q. Whenever any static data member is declared in a class ______________________

Q. If object of class are created, then the static data members can be accessed ____________

Q. Which among the following is wrong syntax related to static data members?

Q. Which among the following is correct definition for static member functions?