What is an object?
Answers were Sorted based on User's Feedback
Answer / shruti
An object is the instance of the class..
it is the only gateway to access the entities defined in
the class..
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / abalonesoft
A region of storage with associated semantics.
After the declaration int i; we say that "i is an object of
type int." In OO/C++, "object" usually means "an instance of
a class." Thus a class defines the behavior of possibly many
objects (instances).
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / deepak saini
Object is runtime representation of class in memory.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / noopur
an object is the real instant of a class where class is a user defined datatype and class is a variable of that data type also called complex variable.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?
Why c is called free form language?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is a good data structure to use for storing lines of text?
Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
What is the code in while loop that returns the output of given code?
what are the stoge class in C and tel the scope and life time of it?
3. When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these
What are conditional operators in C?
code for copying two strings with out strcpy() function.
how to add two numbers without using arithmetic operators?
what is difference between c and c++