发布网友 发布时间:2022-04-22 01:31
共5个回答
懂视网 时间:2022-05-05 19:22
其实很简单,一句话说完。 State 是有限的,Status 是无限的。 当然啦,一般概括性语言都是不明白的,其实意思就是,Status 里面的就是 State。 可以这么说,如果你要建立一个 枚举 的话,可以叫 State。 而一个变量如果是这个枚举类型的话,那么他的变量名
其实很简单,一句话说完。
“State 是有限的,Status 是无限的。”
当然啦,一般概括性语言都是不明白的,其实意思就是,Status 里面的就是 State。
可以这么说,如果你要建立一个 枚举 的话,可以叫 State。
而一个变量如果是这个枚举类型的话,那么他的变量名就叫做 Status。
State 表示一个状态的集合(State 本身),仅仅是一个集合,自己为自己代言。
Statue 表示一个物体(其他东西)的状态,自己为别人卖广告。
那么数据库里面的话。
我们可以把 State 作为表名,,里面含有各种状态,代表着本身(自己)是一个集合。
而 Status 作为字段名,里面也含有各种状态,但代表的是主体(其他东西)的状态。
热心网友 时间:2022-05-05 16:30
state 和 status 的区别:
state的意思是状态,Status不仅有状态也有身份的意思。
state:比较常用,各种状态都可以用它,但是它更着重于一种心理状态或者物理状态。
status 用在人的身上一般是其身份和地位,状态时指的是*和商业。
一、state
英 [steɪt] 美 [stet]
n.国家;州;状况,情况;
vt.规定;
adj.国家的;
例句
1、Look at the state of my car!
看看我的车都成什么样子了!
2、The police report stated that he was arrested for allegedly assaulting his wife
警方的报告称,他因涉嫌殴打妻子而被捕。
3、'Our relationship is totally platonic,' she stated
“我们纯属精神恋爱,”她声明道。
二、 status
英 [ˈsteɪtəs] 美 [ˈstetəs, ˈstætəs]
n.地位;身份;情形,状态
例句
1、She has had to cope with losing all her previous status and money.
她不得不忍受彻底失去以前所拥有的地位和金钱的痛苦。
2、By 492 votes to 391, the federation voted to maintain the statusquo
联邦以492票对391票的投票结果决定维持现状。
3、Social status is largely determined by the occupation of the main breadwinner
社会地位很大程度上是由家里经济支柱的职业决定的。
热心网友 时间:2022-05-05 17:48
state:比较常用,各种状态都可以用它,但是它更着重于一种心理状态或者物理状态。
Status:用在人的身上一般是其身份和地位,作“状态,情形”讲时,多指*和商业。
state
noun
状态 condition of sb/sth
1、[C] 状态;状况;情况
the mental, emotional or physical condition that a person or thing is in
a confused state of mind
思绪纷乱
He was in a state of permanent depression.
他一直处于消沉状态。
anxieties about the state of the country's economy
对于国家经济状况的担忧
The building is in a bad state of repair (= needs to be repaired) .
那座房子年久失修。
She was in a state of shock .
她震惊不已。
(BrE, informal) Look at the state of you! You can't go out looking like that.
看看你这副样子!你可不能就这么出去。
You're not in a fit state to drive.
你现在的状态不宜开车。
note at condition
国家 country
2、also State
[C] 国家
a country considered as an organized political community controlled by one government
the Baltic States
波罗的海诸国
European Union member states
欧盟成员国
see also city state, nation state, police state, welfare state
note at country
国家的一部分 part of country
3、also State
[C] (abbr. St.) 州;邦
an organized political community forming part of a country
the states of Victoria and Western Australia
维多利亚和西澳大利亚两州
the southern states of the US
美国南方各州
* government
4、also the State
[U, sing.] *
the government of a country
matters/affairs of state
国家大事
people who are financially dependent on the state
依靠国家救济的人
a state-owned company
国有公司
They wish to limit the power of the State.
他们希望**权力。
正式礼仪 official ceremony
5、[U] (国家元首或*首脑享受的)正式礼仪,隆重仪式
the formal ceremonies connected with high levels of government or with kings and queens
The president was driven in state through the streets.
总统乘车隆重地从街上穿过。
美国 the US
6、the States
[pl.] (informal) 美国
the United States of America
I've never been to the States.
我从未去过美国。
status
noun
[usually sing.]
1、[U, C] 法律地位(或身份)
the legal position of a person, group or country
They were granted refugee status.
他们获得了难民身份。
The party was denied legal status.
那个党没有获得合法地位。
2、[U, C, usually sing.] 地位;身份;职位
the social or professional position of sb/sth in relation to others
low status jobs
地位低下的工作
to have a high social status
拥有很高的社会地位
Women are only asking to be given equal status with men.
妇女只是要求得到和男人平等的地位。
She achieved celebrity status overnight.
她一夜之间成为名流。
3、[U] 高级职位;社会上层地位
high rank or social position
The job brings with it status and a high income.
担任这一职务既有显贵的地位又有丰厚的收入。
4、[U, C, usually sing.] 重视(或崇尚)程度
the level of importance that is given to sth
the high status accorded to science in our culture
我们的文化对科学的高度崇尚
5、[U] (进展的)状况,情形
the situation at a particular time ring a process
What is the current status of our application for funds?
我们申请资金目前进展状况如何?
热心网友 时间:2022-05-05 19:23
问候朋友。热心网友 时间:2022-05-05 21:14
status主要指跟人物有关的身份、名誉等方面的情况,而state泛指一般的情况,也可译为状态.