finish的用法及搭配
初中英语短语固定搭配及用法?
初中英语短语固定搭配及用法?
be good at doing sth善长干什么,I am good at playing basketball.
be strict with sb 对某人严格要求,my father is strict with me.
do ones best to do sth尽最大努干某事 I do my best to finish my homework.
The end和finish有什么区别?
end 与 finish都有“结束,完成”的意思,都可作名词和动词,但它们的用法不同。
1、end 一般用于事情结束。 如: 1). he ended his class with a song . 他以一首歌结束他的课。 2). walk along this road to the end . 沿着这条路走一直走到尽头。
2、 finish着重“完成”,常见用法是:finish doing sth。 如: 1). have you finished doing your homework ? 你做完你的作业了吗? 2).when does he finish his college course? 他何时大学毕业?
C语言中finish函数用法?
finish()官方解析:Call this when your activity is done and should be closed. The ActivityResult is propagated back to whoever launched you via onActivityResult().也就是说,当你打开的Activity已经执行完成并且需要被关闭的时候可以调用这个方法,当你按返回的时候,他将返回到当前Activity的发起者。
不使用finish():从activity 1中启动activity 2,然后在activity 2 启动activity 3,这时按下返回键 程序就返回到了activity 2,再按下返回键 就返回到activity 1;
使用finish():从activity 1中启动activity 2,在activity 2调用finish(),然后在activity 2 启动activity 3,这时按下返回键 程序就直接返回了activity 1