How would you stop a class from class from being derived or
inherited.
Answer Posted / montylee
Here's the correct answer:
http://www.parashift.com/c++-faq-lite/strange-inheritance.html#faq-23.11
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a class oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is the difference between static polymorphism and dynamic polymorphism?
What is oops?what is its use in software engineering?
Why do while loop is used?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is the difference between inheritance and polymorphism? What is interface? When and where is it used? How to call a non virtual function in the derived class by
using base class pointer write a program to enter a string like"sunil is a good boy
and seeking for a job" not more than 10 characters including
space in one line,rest characters should b in other line.if
the next line starts from in between the previous word,then
print whole word to next line. just right the logic of it
1--> If few people are electing then every time ur candidate
should win
2--> arrange books in box, if box carry weight == books
weight then take another box..... find the no of box
required. Write a program to compute for numeric grades for a course.
The course records are in a file that will serve as the
input file. The input file is in exactly the following
format: Each line contains a student's first name, then one
space, then ten quiz scores all on one line. The quiz scores
are in whole number and are separated by one space. Your
program will take it input from this file and sends it
output to a second file. The data in the output file will be
exactly the same as the data in the input file except that
there will be one additional number (of type double) at the
end of each line. This number will be the average of the
student's ten quiz scores. Use at least one function that
has file streams as all or some of its arguments. Which method cannot be overridden? What is stream in oop? What is the fundamental idea of oop?