What is virtual class and friend class?
Answer Posted / vaibhav panchal
A virtual class is an inner class that can be overridden by
derived classes of the outer class.
| Is This Answer Correct ? | 27 Yes | 7 No |
Post New Answer View All Answers
What causes polymorphism?
What is inheritance and how many types of inheritance?
What is the oops and benefits of oops programming?
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
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
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.
What does enum stand for?
What is abstraction and encapsulation?
What are the three parts of a simple empty class?
Prepare me a program for the animation of train
Plese get me a perfect C++ program for railway/airway reservation with all details.
Why is there no multiple inheritance?
What is polymorphism explain?
Can a varargs method be overloaded?
What is object and class in oops?