When i user vector object in my blackberry app like below
Vector<Object> vector = new Vector<Object>();
i am getting compiler error as
blackberry parameterised are only available if source level 1.5
why is this error?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
BlackBerry is based on JavaME which is currently limited to Java 1.3 syntax. Thus, since generics were added in Java 5 (1.5), you are out of luck, unfortunately.