Redian新闻
>
A new question Re: java thread question
avatar
A new question Re: java thread question# Java - 爪哇娇娃
d*r
1
I found that maybe I can use EventQueue to solve this. I will try that today.
Another question: How to import classes dynamically.
That is:
If I have a class implemented a certain interface but I can only know the
exact class name at run time. How to do it?

avatar
st
2
http://www.google.
com/search?q=java+classfactory&num=30&hl=zh-CN&ie=UTF-8&oe=UTF-8
dont remember detail, something called classfactory as I remember...

【在 d*r 的大作中提到】
: I found that maybe I can use EventQueue to solve this. I will try that today.
: Another question: How to import classes dynamically.
: That is:
: If I have a class implemented a certain interface but I can only know the
: exact class name at run time. How to do it?
:
: 始

avatar
g*g
3
reflection.

【在 d*r 的大作中提到】
: I found that maybe I can use EventQueue to solve this. I will try that today.
: Another question: How to import classes dynamically.
: That is:
: If I have a class implemented a certain interface but I can only know the
: exact class name at run time. How to do it?
:
: 始

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