what is object slicing?

Answer Posted / bibek

object slicing is the technique where we when we assign the
value of derived class to the base class,only the base class
content is sliced not the derived class own datamember.

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is destructor oops?

617


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2144


What does sksksk mean in text slang?

1532


What is encapsulation and abstraction? How are they implemented in C++?

632


which feature are not hold visual basic of oop?

1721






Explain the concepts involved in Object Oriented programming.

629


What is abstraction in oop?

630


What is the difference between procedural programming and oops?

549


What do you mean by Encapsulation?

640


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2752


Can an interface inherit a class?

556


What are the 5 oop principles?

594


i got a backdoor offer in process global,Bangalore..Can i work with it?

2324


What is overloading in oops?

596


What does enum stand for?

607