I have imported some project into my workspace. it has some hashmaps, arraylist etc. it has syntax error in this <>
part of code.
for example definition of array list is ArrayList<String> bases = null;
but when a make a new instance like bases = Arraylist<>();
it gets a syntax error.
I have jre1.7 and JDK 7 installed on my system