avatar
问题,请高手指教# JobHunting - 待字闺中
P*b
1
Design desktop gui. On gui, there is “program”, “folder”, “printer”,
“garbage can”, “file”, we can drag each one to another one. But some are
legal, some are not. E.g., when we drag file into printer, it is legal, and
printer will print file out. When we drag a folder into printer, it is also
legal, printer will print out all the files in the folder(could be
recursive). But some operations are illegal, e.g., when we drag "garbage can
" to printer, there should error message or exception sent out.
Hint: don’t use static binding e.g., ID, but use dynamic binding and
polymorphisms.
avatar
p*7
2
你面GUI design的职位?
avatar
d*e
3
在base class设置一个printable flag?

are
and
also
can

【在 P*******b 的大作中提到】
: Design desktop gui. On gui, there is “program”, “folder”, “printer”,
: “garbage can”, “file”, we can drag each one to another one. But some are
: legal, some are not. E.g., when we drag file into printer, it is legal, and
: printer will print file out. When we drag a folder into printer, it is also
: legal, printer will print out all the files in the folder(could be
: recursive). But some operations are illegal, e.g., when we drag "garbage can
: " to printer, there should error message or exception sent out.
: Hint: don’t use static binding e.g., ID, but use dynamic binding and
: polymorphisms.

avatar
P*b
4
不是啊,没做过GUI。

【在 p********7 的大作中提到】
: 你面GUI design的职位?
avatar
P*b
5
不用什么pattern吗?

【在 d**e 的大作中提到】
: 在base class设置一个printable flag?
:
: are
: and
: also
: can

avatar
p*7
6
这个题还挺考oop的

are
and
also
can

【在 P*******b 的大作中提到】
: Design desktop gui. On gui, there is “program”, “folder”, “printer”,
: “garbage can”, “file”, we can drag each one to another one. But some are
: legal, some are not. E.g., when we drag file into printer, it is legal, and
: printer will print file out. When we drag a folder into printer, it is also
: legal, printer will print out all the files in the folder(could be
: recursive). But some operations are illegal, e.g., when we drag "garbage can
: " to printer, there should error message or exception sent out.
: Hint: don’t use static binding e.g., ID, but use dynamic binding and
: polymorphisms.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。