Making a public constant just ``++const++`` as opposed to ``++static const++`` leads to duplicating its value for every instance of the class, uselessly increasing the amount of memory required to execute the application.

== Noncompliant Code Example

----
public class Myclass 
{
  public const THRESHOLD:int = 3;   
}
----

== Compliant Solution

----
public class Myclass 
{
  public static const THRESHOLD:int = 3;   
}
----

ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]
