Define string constant Java - Android public static final String NAME = "text"; Javascript const NAME = "text"; Objective-C NSString *const NAME = @"text"; PHP define("NAME", "text");