What is Object and Class? What are the differences between
them?

Answer Posted / poorna chandar rao

Object and Class both are same there is no difference
bettwen them those are having properties(data) and methods
but small difference beteween them that is objects are
available physically avialable and class is not avialable
class is a bluprint

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the point of polymorphism?

578


What is encapsulation in oops?

530


What is encapsulation with real life example?

564


class type to basic type conversion

1831


What is solid in oops?

592






How do you use inheritance in unity?

580


What is destructor oops?

611


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

936


Get me an image implementation program.

1551


Why is abstraction needed?

559


What is abstract class in oops?

592


what is graphics

2001


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1685


What is data binding in oops?

574


Can you explain polymorphism?

576