0

I am writing on a DML file the next source of code:

enum Permission;

It generate a file .java where it will generate this error:

excepting "class", found 'enum'

I also tried to code other sample of my DML file function as well as:

enum Permission{
   OWNER,
   ROOT,
   READ,
   WRITE,
   READWRITE
}

And it has the same error.

Alex Riley
  • 169,130
  • 45
  • 262
  • 238
Francisco Maria Calisto
  • 2,841
  • 4
  • 22
  • 54

0 Answers0