what is difference between objects and function

Answer Posted / saurabh sharma

with the help of object we can call the function of the
class .and with the help of function we can reduce the
redundency.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop?

635


Can you inherit a private class?

633


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1653


What are properties in oop?

611


What is difference between data abstraction and encapsulation?

618






What are the components of marker interface?

602


Which is better struts or spring?

624


Why is abstraction used?

609


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1459


Why is there no multiple inheritance?

570


Can a varargs method be overloaded?

617


Why do we use oops?

593


write a program to find 2^n+1 ?

1552


How is class defined?

588


What is polymorphism and its types?

598