what is an instance of a class

Answer Posted / sandeep

Number of entities,called objects are the instances of the
class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oops with example?

768


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1453


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


Why interface is used?

549


What is data binding in oops?

582






What is object in oops?

609


Why do we need polymorphism in c#?

684


What is coupling in oop?

591


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

625


How oops is better than procedural?

583


Why multiple inheritance is not possible?

594


What is oops in simple words?

575


Give two or more real cenario of virtual function and vertual object

1849


How Do you Code Composition and Aggregation in C++ ?

24187


What is polymorphism in oops with example?

525