What is virtual class and friend class?

Answer Posted / guest

frien class are used when two or more classes are designed
to work together and virtual base class aids in multiple
inheritance

Is This Answer Correct ?    33 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static in oop?

585


What is destructor oops?

617


What are the benefits of polymorphism?

616


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.

2569


What is an example of genetic polymorphism?

645






Why do we need oop?

659


What is interface? When and where is it used?

1663


What is abstract class in oops?

596


What is property in oops?

565


What is difference between class and object with example?

562


Can a varargs method be overloaded?

615


What is abstraction in oops?

579


to find out the minimum of two integer number of two different classes using friend function

1637


What is coupling in oops?

592


what are the realtime excercises in C++?

2333