<p>In my previous blog, I wrote about the following OOP features: Abstraction Encapsulation Inheritance Polymorphism Abstract CFCs & Methods In ColdFusion 2018, we support ‘Covariant Method Return Type’. This is another OOP concept and has been adopted by many modern programming languages. Covariant Method Return Type Most modern programming languages support ‘subtyping’. Let me explain subtyping by an example. If the return type of my class function is ‘Animal’ while overriding the function in a subclass, you can specify the […]</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2018/07/oop-and-coldfusion-part-2/">OOP and ColdFusion – Part 2</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Comments: