Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

how assign a none static var to a static var in Java/Android?
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a Canvas game if we have a class like:


how transfer from this a var value to this

without using static vars?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic