can与container都是容器的意思它们有何区别
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了can与container都是容器的意思它们有何区别相关的知识,希望对你有一定的参考价值。
【can】[C]金属容器,金属罐,铁罐,玻璃罐,塑料容器
可指盛液体等的容器,如壶、桶,也指保存食物用的马口铁罐头、瓶罐或家里储存水用的陶器或玻璃瓶、广口瓶等
can多用于美语中
metal or plastic container for holding or carrying liquids; a closed metal container in which foods preserved without air
【container】
[C]容器
a box, barrel, bottle, or any other object used for holding sth
[C]集装箱,货柜
a very large usually metal box in which goods are packed to make it easy to lift or move them, e.g. onto a ship or road vehicle
A reactor is a container for chemical reaction.
反应器是进行化学反应的容器。
The volume of this container is 2 cubic meters.
这个容器的容量是两立方米。
The goods are packed in airtight container.
货物被装在密封的集装箱内。
You need to empty the container.
你必须腾空这个集装箱。 参考技术A can是易拉罐,container是一般的容器 参考技术B JFrame extends Frame
Frame extends Window
Window extends Container
JPanel extends JComponent
abstract class JComponent extends Container
ContenPane一般是一个PANEL
只能说它们是由一个类继承过来的。
JPanel和Container他们的功能和意思一样吗
JPanel和Container他们的功能和意思一样吗
应该都是容器的意思吧
JPanel:JPanel 是一般轻量级容器,可以向JPanel容器中放入JPanel,JTextfiled,JButton等;
Container:基本可以包容awt的所有组件,包括JPanel本回答被提问者和网友采纳
以上是关于can与container都是容器的意思它们有何区别的主要内容,如果未能解决你的问题,请参考以下文章