What is Object and Class? What are the differences between
them?
Answer Posted / jack
simple analogy for this quest is u declare int x;
and u ask diff between int and x;
Object is an instance of a class.......
--when an object of a class is created the memory for
that class is created...
--U can access the class members using the . operator in
your program....but u r not allowed to access the private
and protected members, which can be accessed by the member
functions only........
Class is the user defined datatype...which contains data
members and member functions.....
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Can private class be inherited?
What is polymorphism in oop example?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Give two or more real cenario of virtual function and vertual object
What is inheritance in simple words?
Why do we use class?
What does oop mean in snapchat?
What is oops and why we use oops?
When not to use object oriented programming?
What are the components of marker interface?
is there any choice in opting subjects like 4 out of 7
What is abstraction in oops?
What are objects in oop?
What is oops in simple words?
What is byval and byref? What are differences between them?