Search:

Type: Posts; User: Giacomo

Search: Search took 0.15 seconds.

  1. Re: Getting primitive variable values from another class

    Thanks as you might be able to tell, I've only just started java - this has been very helpful.
  2. Re: Getting primitive variable values from another class

    Thanks - that's very helpful I had forgotten to use static int time; so it was only changing in the subsection.
  3. Re: Getting primitive variable values from another class

    I have put the get method in the Menu class not in any subclass. I have set the default value of the variable to 1 but there is a subsection namely the 'public void onClick(view v){.........}' where...
  4. Re: Getting primitive variable values from another class

    Thought this was working but in my case its not... I've defined the variable in Menu but then changed it upon the clicking of a button. Where do I put the code for the getter in order for the getter...
  5. Getting primitive variable values from another class

    Sorry if this question has already been answered in a different thread but I can't find a solution on this site that suits my problem.

    I am making an Android app and in one class, "Menu.java", I...
Results 1 to 5 of 5