How compiler selects(internally) required overridden
function in inheritance?
Answers were Sorted based on User's Feedback
Answer / deepthi
By using virtual tables,
when Compiler views virtual in a class declaration then for
each class it creats one virtual table
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / deepthi
By using virtual tables,
when Compiler views virtual in a class declaration then for
each class it creats one virtual table
Is This Answer Correct ? | 2 Yes | 0 No |
what is the size of an empty class
what is the realstic modeling?
In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}
why we call c++ is object oriented lanaguage
what is the difference between javap and jad utility
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
can you explain how to use JavaBean in Project
What are two types of polymorphism?
Why do we use inheritance?
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.