portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

OOP and ColdFusion – Part 2

| View in Portal
July 14, 2018 11:05:30 AM GMT
0 Comments
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 […]
Labels: Blog, Uncategorized, CFML, ColdFusion, coldfusion 2018, covariance, final, language enhancements, oop

Comments: