Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. String STR4SEARCH_START = "Abc";
- 2. private final String STR4SEARCH_START = "Abc";
- 3. private static final String STR4SEARCH_START = "Abc";
- 4. public final String STR4SEARCH_START = "Abc";
- 5. public static final String STR4SEARCH_START = "Abc";
- I want to use a never change String variable
- public class ConstantCodes
- {
- public static final String STR4SEARCH_START = "Abc";
- ...
- ...
- }
- String myNewVariable = ConstantCodes.STR4SEARCH_START;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement