What is an object?
Answers were Sorted based on User's Feedback
Answer / hima bindu
an instance of a class is called an object...
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / jagath
object is nothing but which is existing in the real world
and it has some properties,methods
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / shivanand
object is an instance ok a class through which we can access
class member and data.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / srikanth gunnala
In Object Oriented programming Object is a run time
entity(requirement) that binds the methods and data(this
methods are operated with that binded data)together.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / devender
object is a real time entity it has state,behavior
ex;animals,vechiles
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / priya
OBJECT:
*OBJECT IS A RUN TIME ENTITY.
*IT CAN ACCESS THE CLASS MEMBERS.
*WE CAN CREATE AN OBJECT BY THE CLASS NAME.
EXAMPLE:
class myclass
{
public:
int no;
void getdata();
void putdata();
void getdata()
{
cin>>no;
}
void putdata()
{
cout<<"NO:";
}
};
void main()
{
myclass.obj1;[-----------> object was created by the class name]
obj1.getdata();
obj1.putdata();
getch();
}
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / pasu nayan
object is a software bundle of related state and
behavior.it is a instance of a class.all are real world
entity.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / poorna chandar rao
object is collection properties and methods object existing
in real world
example : dog is a object its having eye,legs..etc these are
all properties and walk(),eat(),....etc these are all methods
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / rushi
ok,
If you say class is structure then object is a way to implement class,
that is object is a runtime entity of class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anuj tiwari
An object is any thing that exists in and occupies space in storage and on which operation can be performed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do we use virtual functions?
3. Differentiate verification and validation.
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
Can java compiler skips any statement during compilation time?
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku
string is a class or data type in java?
Difference between new operator and operator new
What is the main difference between C++ and Java
Can main method override?
write a program for function overloading?
14 Answers HCL, InfoCity, TATA,
what is polymorphism?