WAP to generate 2n+1 lines of the following pattern on the
computer screen:
Answer Posted / krishnan
*
* *
* *
* *
* *
* *
*
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
what is graphics
write a programe to calculate the simple intrest and compund intrest using by function overlading
Which is not an object oriented programming language?
Why multiple inheritance is not possible?
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.
State what is encapsulation and friend function?
What is a superclass in oop?
What is destructor give example?
What causes polymorphism?
What is encapsulation with example?
Why is object oriented programming so hard?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is abstraction with example?
What is the difference between a constructor and a destructor?