Answer Posted / subhashish saha
When you try to assign derived class object to an object of
base class, it takes the elements that has relivance with
respect to the base class and slices off the remaining
thing. this is object slicing...
| Is This Answer Correct ? | 27 Yes | 1 No |
Post New Answer View All Answers
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is a class in oop?
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(); }
What is destructor oops?
Explain virtual inheritance?
Can you explain polymorphism?
why reinterpret cast is considered dangerous?
What are the benefits of oop?
What is overloading and its types?
what is the drawback of classical methods in oops?
What is the diamond problem in inheritance?
explain sub-type and sub class? atleast u have differ it into 4 points?
Which method cannot be overridden?
What are the benefits of polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?