我不认为我可以转换以下内容:
List<B> c = new ArrayList<B>(); c.add(***); object[] a = c.toArray(); B[] b = (B[])a; //How to cast a back to B[]?
我怎样才能在Java中实现这一目标?