熊猫脸脸鸭二鸭
expected在英语中是预料预期的意思,如果在JAVA编程中出现则表示在字符串中输入了换行符。编译器就会报错:Line nn: ';' expected
处理方法:将字符串拆分为两个, 确保字符串中都没有新行, 并将它们与 + 连接起来就可以了。
expected 英[ɪkˈspektɪd] 美[ɪkˈspektɪd]
adj. 预料的; 预期的;
v. 预料; 预期; 预计; 等待; 期待; 盼望; 要求; 指望;
[词典] expect的过去分词和过去式;
1、As expected, it rained.
果不其然下了雨。
2、It may be that you will feel the exact opposite of what you expected.
可能你的感觉将和你的期盼刚好相反。
3、Scientists have collected more data than expected.
科学家已经收集到了比预期更多的数据。
扩展资料:
expect的用法
1、表示期待,期望,通常为及物动词,不要受汉语影响在其后误加介词for。如:
我们不能期望一夜之间就取得成功。
如:We should not expect success overnight.
2、后接动词时要用不定式,不用动名词。如:
I did not expect to find you here. 我没料到在这里碰到你
亲切的海沫儿
I look forward to paying you a visit next week.我期待着下星期去拜访你。-- 英汉 - 辞典例句Don't always expect others to make it worth your while.不要总是期待别人酬谢你。-- 英汉 - 辞典例句I anticipate a good vacation.我期待着一个快乐的假期。-- 英汉 - 辞典例句It is no good hoping for other's help.期待别人的帮助是不行的。-- 英汉 - 辞典例句The children waited with eager anticipation for Christmas.孩子们热切期待圣诞节的到来。-- 英汉 - 辞典例句We anticipate hearing from you again.我们期待再接到你们的来信。-- 英汉 - 辞典例句We look forward to the dawn of better days.我们期待较好的日子的来临。-- 英汉 - 辞典例句All the employees expect an automatic increase in pay every year.所有的员工都期待每年工资自然增长。-- 英汉 - 辞典例句His mind was throbbing with expectation.他的心因期待而柁柁地跳着。-- 英汉 - 辞典例句I'm looking forward to seeing it.我期待看到它。
优质英语培训问答知识库