Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
5 19681i 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 4714write 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’.
2196write 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).
2099sir 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 4275Base 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 6189
What is abstraction encapsulation?
Why it is called runtime polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the point of oop?
Why do we need oop?
Write a c++ program to display pass and fail for three student using static member function
What is the highest level of cohesion?
Why is polymorphism used?
What do you mean by overloading?
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 encapsulation in oops?
What is stream in oop?
what is different between oops and c++
What are the benefits of polymorphism?
What is destructor in oop?