Thanks as you might be able to tell, I've only just started java - this has been very helpful.
Type: Posts; User: Giacomo
Thanks as you might be able to tell, I've only just started java - this has been very helpful.
Thanks - that's very helpful I had forgotten to use static int time; so it was only changing in the subsection.
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...
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...
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...