A variable is declared in an interface, which is not allowed. Variables may be declared in classes to create fields.
To correct this error
-
Make sure variable declarations do not appear in interface declarations.
A variable is declared in an interface, which is not allowed. Variables may be declared in classes to create fields.
Make sure variable declarations do not appear in interface declarations.