Use of string variable by initializing in android app to assign text words value using =(equals) & double cot(” “).
String variables was already added on android API leve 1, String represents array sequence of char values in combination. String variable is used to store text words, the word can be a single word or also supports multiple worlds. So here is the complete step by step tutorial for Declare String variable in android Java.
How to Declare String variable in android Java.
String variable are define with String keyword for example :
Assigning values to string variable:
abc = ” This is string variable. “;
// initializing string variable String abc; // Setting up values into string variable. abc = "Value store in abc";