Search:

Type: Posts; User: darter

Search: Search took 0.09 seconds.

  1. Re: How to make data available to two different classes - theory and code question

    Thanks Tjstrech, I have used your code to make that work in my own example. One thing I don't get though.

    I think of ClassA classA = new ClassA(5); as being a way to create a new instance (an...
  2. Re: How to make data available to two different classes - theory and code question

    Hello - thanks for reply. This is just a learning exercise so the game is not really important. I just chose Player and Space so they could be used to instantiate objects that have attributes. My...
  3. How to make data available to two different classes - theory and code question

    I am trying to make my first Java program using classes and objects and so I picked a simple game problem to model. (1) Spin wheel (2) Move player 6 spaces (for example) (3) Display all the "spaces"...
Results 1 to 3 of 3