An enum is an abstract datatype with values that each take on exactly one of the finite set of identifiers that you specify. Enums are typically used to define a set of possible values that don’t otherwise have a numerical order such as a suit of card or a particular season of the year.
Public enum season(winter, summer, spring, fall);
Season s=season.winter; // define it into a new file to make it global
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Fill the form below to get a demo of this course.
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.