Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
5 19881i 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.
1 4794write 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’.
2256write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
2154sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....
2 4403Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
2 6303
What are the 4 main oop principles?
What is the example of polymorphism?
write a C++ program for booking using constructor and destructor.
What is the problem with multiple inheritance?
What is the significance of classes in oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What are oops functions?
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.
what is difference between class template and template class?
What is difference between abstraction and encapsulation?
What are objects in oop?
#include
Why is abstraction needed?
What is overriding in oop?
How to call a non virtual function in the derived class by using base class pointer