Answers for "android variables"

0

how to declare variable in android

I suggest learning Java fundamentals first. Declaring a variable is fundamental to Java programming language (and indeed many programming languages), its not just Android specific.

You can learn Java fundamentals here.

Good Luck in your learning
Posted by: Guest on February-22-2021
0

how to declare variable in android

public class MyApplication extends Application {

    private String someVariable;

    public String getSomeVariable() {
        return someVariable;
    }

    public void setSomeVariable(String someVariable) {
        this.someVariable = someVariable;
    }
}
Posted by: Guest on February-22-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language