E.10. Constructors
Constructors are invoked when an object is created. Constructors have the same name as the class and do not return a value.
class myClass { myClass() { // constructor } }
Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.