Hey all just wondering of someone can give me an explanation of what a Raw Type is in generics. I've been looking all over and can't find a good explanation of what it is.

Thanks

Compile this for a message from the compiler about raw type:

ArrayList aStr = new ArrayList();
     aStr.add("sdf");

What is the "type" of aStr?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.