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

2013/10/8

declaration of vector

dimas_ant dimas_ant

2013/10/8

#
hello, I am a Brazilian student and I'm doing a paper on the possibilities of using greenfoot for teaching programming. I'm making a comparison between the language used in Eclipse java and greenfoot. I'm trying to use vector but could not. in java is the vector teclarado well: n int ; n = new int ; how to do that in greenfoot? (excuse the english google translator)
manish123 manish123

2013/10/8

#
it seems to me like ur just trying to declare an array (correct me if im wrong please) : int n = new int ;
Entity1037 Entity1037

2013/10/8

#
int[] n;
int[] n={...};
int[] n = new int[...];
It's not very complicated.
You need to login to post a reply.