How do you invoke a base member function from a derived class in which you’ve overridden that function?
No Answer is Posted For this Question
Be the First to Post Answer
What do you understand by pure virtual function? Write about its use?
What are arrays c++?
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
Will c++ be replaced?
What are containers in c++?
What does flush do?
Can a new be used in place of old mallocq? If yes, why?
Are vectors passed by reference c++?
What is the difference between an enumeration and a set of pre-processor # defines?
Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
throw Can constructors exceptions?
Define pure virtual function?