Is class an Object? Is object a class?

Answer Posted / anum abbas

A class is just a template that is used to create the
objects and to define its behaviours.

But object is an instance of a class.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features that are provided to make a program modular?

608


Which oops concept is used as reuse mechanism?

2902


What is the function of messaging metaphor?

594


Explain about object oriented programming?

610


Differences between functional programming and object-oriented programming?

551






Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?

533


Can an interface contain fields?

584


What is a pure virtual function?

589


Explain basic concepts of OOPS?

523


What is a functional interface? What is sam interface?

573


Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?

585


Can you tell something about GDI objects?

615


What is a static method? Why do we need static methods in java 8 interfaces?

675


Are constructors inherited? Can a subclass call the parent's class constructor? When?

575


What is a friend function?

594