Vectoe中元素与组件的区别?
JavaAPI帮助中说,Vector类中的add()方法      是将指定元素追加到此向量的末尾。 
 而addElement()方法   是将指定的组件添加到此向量的末尾.这里 "元素 "与 "组件 " 
 的区别是什么? 
 在线等......
------解决方案--------------------没有区别   
 你可以看他的src,几乎是一样的
------解决方案--------------------This   method   is   identical   in   functionality   to   the   add(Object)   method   (which   is   part   of   the   List   interface).    
   功能和参数上相同,返回值不同 
  add返回boolean,addElement是void
------解决方案--------------------不要纠缠与这些中文翻译,基本没区别。add() 属于List的方法,addElement()不是
------解决方案--------------------一样的,两个函数实现同样的功能