Revision as of 14:37, 10 September 2009 by Yoder2 (Talk | contribs)

JAVA FAQ

Q: How do I initialize and create a list in java? A source code example would be beneficial.

A: Do you mean an array? Here are some examples from Java's website

int[] factorial = { 1, 1, 2, 6, 24, 120, 720, 5040 };
char ac[] = { 'n', 'o', 't', ' ', 'a', ' ',
				 'S', 't', 'r', 'i', 'n', 'g' }; 
String[] aas = { "array", "of", "String", };

Back to ECE462

Alumni Liaison

Meet a recent graduate heading to Sweden for a Postdoctorate.

Christine Berkesch