How would you stop a class from class from being derived or
inherited.

Answer Posted / dom wadegu

by declearing a sub-class protected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are oops methods?

568


What is static in oop?

590


What is and I oop mean?

622


What is the purpose of polymorphism?

681


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1395






Who invented oop?

658


What is polymorphism in oops?

558


can inline function declare in private part of class?

3658


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1621


Why polymorphism is used in oops?

585


What is an interface in oop?

595


what are the different types of qualifier in java?

1842


What is multilevel inheritance explain with example?

628


Why is polymorphism important in oop?

633


What is object and example?

604