what is difference between objects and function

Answers were Sorted based on User's Feedback



what is difference between objects and function..

Answer / jothi basu.m

sir... my answer is objects contains some number of function
and constructors but functions does not contain objects

Is This Answer Correct ?    7 Yes 1 No

what is difference between objects and function..

Answer / 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

what is difference between objects and function..

Answer / rajdeep

object is the part of class.if there is no member function is initialize in function then we can call the function without object.Object always store in heap and function alway store in stack.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

What are virtual functions?

2 Answers  


What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?

1 Answers  


What is difference between multiple inheritance and multilevel inheritance?

0 Answers  


why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??

1 Answers  


write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.

4 Answers  


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


What is polymorphism give a real life example?

0 Answers  


Explain the advantages of inheritance.

0 Answers   TCS,


What is static modifier?

0 Answers  


Write a program to demonstrate the use of 'Composition' in C++

2 Answers  


Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.

6 Answers  


diff between Virtual mathod and abstract method?

1 Answers  


Categories