This site requires JavaScript, please enable it in your browser!
Greenfoot back
ZiEiTiA
ZiEiTiA wrote ...

2014/5/23

Declaring Arrays

ZiEiTiA ZiEiTiA

2014/5/23

#
Hi, I am writing a simple game using greenfoot, but can't get the arrays to work. I am using a variable called inventory, and currently I have
1
public int inventory;
However I need this as an array Can anyone help me??
danpost danpost

2014/5/23

#
Please refer to this page of the Java tutorials.
You need to login to post a reply.