What is an object?
Answers were Sorted based on User's Feedback
Answer / vikas patel
Object is the block of the memory to derived class...
ex
Rectangle rec = new Rectangle....
rec is the object
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / manoj kumar
Object is an entity with identity,state and behavior.
object is an entity that exist in the real word.
example:
int a;
a=10;
Identity of an object is a.State is represented by data value
i.e. 10 and behavior of the object is that it is integer type.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vinod
Object is a separate copy of CLASS which has properties and
functions. it has it's own memory space and things. when
the properties are changed it will not affect the other
object of the same class
| Is This Answer Correct ? | 0 Yes | 2 No |
write a program to find 2^n+1 ?
write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation
1 Answers College School Exams Tests, HCL, IBM, TCS,
Is abstract thinking intelligence?
write a program to print * * * * * *
why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??
What is oops in simple words?
What is the importance of oop?
Child cObj = new Parent() Wahts the output ?
How do you make derived class as an abstract class?
JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?
How is data security provided in Object Oriented languages? ?
What is polymorphism explain?