what is difference between objects and function
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are virtual functions?
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
What is difference between multiple inheritance and multilevel inheritance?
why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
Describe what an Interface is and how it?s different from a Class.
What is polymorphism give a real life example?
Explain the advantages of inheritance.
What is static modifier?
Write a program to demonstrate the use of 'Composition' in C++
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.
diff between Virtual mathod and abstract method?