Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ArrayList<String> Compilation Error

807601Apr 2 2008 — edited Apr 4 2008
I am new to java. I have created an simple Java stand alone applicaiton and iam getting this error at the Compile time.

ConfigLoader.java:22: <identifier> expected [javac] private static ArrayList<String> docClasses = null;


Here is an expert from the Code:
public class ConfigLoader {
	private static ArrayList<String> docClasses = null;  //Here is the error <String>
                private static String cutOffDate = null;
	private static boolean runDocIdGen = false;
Regards
Bart :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2008
Added on Apr 2 2008
7 comments
251 views