Properties
Class properties in BoxLang are similar to fields in Java. They can have various attributes and can be configured using annotations.
property name="firstName" default="";
property name="lastName" default="";
property name="age" type="numeric" default="0";
property name="address" type="array";/**
* The user age
* @type numeric
* @default 0
*/
property name="age"Last updated
Was this helpful?
