I understood that lists are pretty much like dynamic arrays. However, I created a list, initialized it, and added a single string to it. Later when I try to assign that list to another list variable I get a java ClassCastException saying java.lang.String cannot be cast to java.util.list. This doesn't make sense to me. When I hover the cursor over the variables in question in debug mode they're displayed as ArrayList[oneelement]. Why is that considered a string? Thanx.