Answer Posted / zohaib brohi
OOP means object oriented programing..
OOPs have 5 pillar.. some people says that there are 3
pillar ( they r also rite) bcz some where we dont consider
classes and object as pillar but some where we consider it
as pillar..
1-> Classes
2-> Objects
3-> Inheritance
4-> Polymorphism
5-> Encapsulation
in any programing language we find these 5 things we can say
that language is OOP Language..
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are pointer-to-members in C++? Give their syntax.
When do we use copy constructors?
What is wrapper class in c++?
What is time_t c++?
Does c++ have foreach?
What is the main use of c++?
Explain the differences between private, public and protected and give examples.
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
the first character in the variable name must be an a) special symbol b) number c) alphabet
Explain abstraction.
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
What is vector string in c++?
Explain virtual destructor?
How do you differentiate between overloading the prefix and postfix increments?
If you don’t declare a return value, what type of return value is assumed?