Is there any way to create a linked-list which type is comes from a string in java. Such that;
String str = "Integer"
.... some process with str ...
LinkedList<resultOfProcess> lnklst = new LinkedList<resultOfProcess>();
// equals to LinkedList<Integer> lnklst = new LinkedList<Integer>();
Sure. Dig more to Generics