Answer Posted / raman sharma
firstly we make to a class just a example we make addition
class then we make to object "s2" then we write
{
s2.addition(parameter);
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between static polymorphism and dynamic polymorphism?
What is the difference between a mixin and inheritance?
Write a c++ program to display pass and fail for three student using static member function
What is a class oop?
What is encapsulation in oop?
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 overriding vs overloading?
What is oops and why we use oops?
How to hide the base class functionality in Inheritance?
Is this job good for future? can do this job post grduate student?
What makes a language oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is polymorphism give a real life example?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Give two or more real cenario of virtual function and vertual object