harshal deshpande wrote:that is why i am posting here same question "why to use abstract methods??" and "what are their advantages".
and abstract methods are one tool for doing this. They allow you to define the "what", and postpone decisions about "how" until you're ready to make them.Lucius Cary, 2nd Viscount Falkland wrote:When it is not necessary to make a decision, it is necessary NOT to make a decision.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
The quieter you are, the more you are able to hear.
Not quite. Abstract classes are those are marked abstract. You can have abstract classes without abstract methods.Richa Sinha wrote:Abstract classes are those classes which contain abstract, i.e. non-implemented methods. . . .
The quieter you are, the more you are able to hear.
Don't get me started about those stupid light bulbs. |