Topic: 这样的问题怎么解决?(继承类) |
Print this page |
1.这样的问题怎么解决?(继承类) | Copy to clipboard |
Posted by: paoda_00 Posted on: 2005-10-02 01:57 Do your reading (search on Google) and write your own homework. 请尽量使用准确的文字描述作为标题 若新帖再無恰当标题,將会被刪除 Original subject : 这样的问题怎么解决? 写个程序 三个类:person,Teacher,student 。 Teacher,student两个得继承person类我写着写着就不知道怎么来写了望高手指点一二谢谢! class pts { public static void main(String args[]) { public class person; // 这里面的主体怎么写高手请教了。 // } public class Teacher extends person { // 这里面的主体怎么写高请手教了。 // } public class student extends teacher { // 这里面的主体怎么写高请手教了。 // } } |
2.Re:这样的问题怎么解决? [Re: paoda_00] | Copy to clipboard |
Posted by: q_yuan Posted on: 2005-10-02 17:35 I don't understand your meaning! |
3.Re:这样的问题怎么解决?(继承类) [Re: paoda_00] | Copy to clipboard |
Posted by: ranchgirl Posted on: 2005-10-02 22:12 I did a google search for you by using the keywords: Person,Teacher,Student Java classes Haha, I even found some existing Java code doing almost exactly what you want. Do your own search, you can learn from the code, or even steal the code. However, nobody should post the link here, let him/her do his/her own search! Thanks!!!! |
4.Re:这样的问题怎么解决?(继承类) [Re: paoda_00] | Copy to clipboard |
Posted by: ranchgirl Posted on: 2005-10-02 22:21 熟读唐诗三百首,不会做诗也会偷! 哈哈大笑! |
5.Re:这样的问题怎么解决?(继承类) [Re: paoda_00] | Copy to clipboard |
Posted by: awardwy Posted on: 2005-10-03 22:58 I DON'T KNOWN YOU WANT TO DO? |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |