java
文章平均质量分 80
wangyifei0822
积极,乐观,上进
展开
-
java学习
1.你需要精通面向对象分析与设计(OOA/OOD)、涉及模式(GOF,J2EEDP)以及综合模式。你应该了解UML,尤其是class,object,interaction以及statediagrams。 2.你需要学习JAVA语言的基础知识以及它的核心类库(collections,serialization,streams, networking,?multithrea转载 2008-04-12 17:02:00 · 596 阅读 · 0 评论 -
使用smtp协议发送邮件程序
使用SMTP协议发送邮件,可以不通过SMTP服务器,直接将邮件发送到邮件服务器。很多服务器端程序可能需要向很多用户发送邮件,直接通过SMTP发送可能是最有效的。关于SMTP协议定义在RFC821,可以在此看中文版。第一步:通过目标email查找邮件服务器。例如:[email protected],其邮件服务器地址为:sohumx.sohu.com import java.net.*;原创 2008-04-24 14:37:00 · 1784 阅读 · 0 评论 -
java 和 c++中的函数参数传递
c++中的参数传递#include iostream>#include cstdlib>void fun1(int x,int y)...{ int tmp; tmp = x; x = y; y = tmp;}void fun2(int &x,int &y)...{ int tmp; tmp = x; x = y; y = tmp;}void原创 2008-05-25 09:28:00 · 569 阅读 · 0 评论 -
java中的构造函数
/**//** @version 1.00 2008-05-25 @author wangyifei*/import java.util.*;public class ConstructorTest...{ public static void main(String[] args) ...{ // fill the staff array with three Em原创 2008-05-25 10:46:00 · 584 阅读 · 0 评论 -
java抽象类用法
/**//** @version 1.00 2008-5-25 @author WANGYIFEI*/import java.text.*;public class PersonTest...{ public static void main(String[] args) ...{ Person[] people = new Person[2]; /原创 2008-05-25 21:42:00 · 669 阅读 · 0 评论