Answer Posted / ananthi
no without oops features also we can use c++
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How do you explain polymorphism?
Prepare me a program for the animation of train
What is difference between abstraction and encapsulation?
What is protected in oop?
What is overriding in oop?
What is a null tree?
Can abstract class have normal methods?
what is difference between class template and template class?
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
What is polymorphism used for?
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.
What is debug class?what is trace class? What differences are between them? With examples.
What is oops and why we use oops?
What is the use of oops?
Why do we need polymorphism in c#?