File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes how assign a none static var to a static var in Java/Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how assign a none static var to a static var in Java/Android" Watch "how assign a none static var to a static var in Java/Android" New topic
Author

how assign a none static var to a static var in Java/Android

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403

how assign a none static var to a static var in Java/Android?
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
In a Canvas game if we have a class like:


how transfer from this a var value to this

without using static vars?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how assign a none static var to a static var in Java/Android