Показать сообщение отдельно
Старый 28.06.2007, 17:00   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
axaptapedia: Polymorphism
Источник: http://www.axaptapedia.com/Polymorphism
==============

Summary: New page: Polymorphism is a core concept in OO and goes hand in hand with [[:inheritance]]. You can use an object from typ of a subclass always like an object from type of a superclass. By example i...
Polymorphism is a core concept in OO and goes hand in hand with [[:inheritance]]. You can use an object from typ of a subclass always like an object from type of a superclass. By example if you create a class that extends RunBaseBatch you can use it always like a RunBaseBatch Object


class MyBatch extends RunBaseBatch
{
...
}



RunBaseBatch batch = new MyBatch();
batch.run();



Источник: http://www.axaptapedia.com/Polymorphism
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.