-
complex
编写一个复数类,可以进行复数加法和减法运算。编写一个包含main方法的类(应用程序)测试该复数类。要求该复数类至少包含一个无参的构造方法和一个带参的构造方法;数据成员包括复数的实部和虚部,为double类型;包括两个方法,分别实现复数的加法和减法运算。(Write a complex class, which can add and subtract complex numbers. Write a class (application) containing the main method to test the complex class. The complex class is required to include at least one parametric construction method and one parametric construction method; the data members include the real and imaginary parts of the complex, which are of double type; and two methods are included to realize the addition and subtraction operations of the complex respectively.)
- 2019-04-13 20:31:45下载
- 积分:1
-
使用java接收邮件,在DOS命令窗口中可直接编译运行该程序!
使用java接收邮件,在DOS命令窗口中可直接编译运行该程序!-Receive messages using java, in the DOS command window can be directly compiled to run the program!
- 2022-01-22 08:25:39下载
- 积分:1
-
基于java的多客户端通信小程序源码
典型的 C/S 架构,有界面。主要分为两部分,服务器端和客户端。使用 TCP/IP 协议通过 Socket 进行通信。 服务器端主要完成登录验证和消息收发的功能。启动服务器后提供一个网 络端口,等待客户端发出请求,登录到此服务端,然后进行网络通讯和消息的 转发。要实现多客户端之间的通信,则必须构建多线程机制。 客户端主要完成登录验证和消息收发和显示功能,客户端可通过服务器端 的 IP 地址发送连接请求,然后登陆聊天室。成员列表栏中会显示在线的所有 人名单,有人退出聊天室,成员列表会自动除名。客户端需要实现简单的人机 交互,可采用 Java 的 java.swing 和 java.awt API 类实现,Eclipse 提供了 WindowBuilder 插件可以方便的实现可视化布局界面。
- 2022-05-05 21:00:26下载
- 积分:1
-
control process introduced
java中控制流程的介绍-control process introduced
- 2022-04-26 22:02:07下载
- 积分:1
-
Feather weight data persistence layer development framework, based on the JDBC d...
羽量级数据持久层开发框架,基于JDBC开发-Feather weight data persistence layer development framework, based on the JDBC development
- 2022-08-15 08:00:43下载
- 积分:1
-
snmp4j初学代码
简单的连接snmp agent 然后get数据
在main函数中
Address targetAddress=GenericAddress.parse("udp:192.168.5.151/161");
TransportMapping transport=new DefaultUdpTransportMapping();
Snmp snmp=new Snmp(transport);
transport.listen();
CommunityTarget target=new CommunityTarget();
target.setCommunity(new OctetString("WinSpread"));
target.setAddress(targetAddress);
target.setRetries(3);
target.setTimeout(5000);
target.setVersion(1);
PDU request=new PDU();
request.setType(PDU.SET);
// request.add(new VariableBinding(new OID("IP-FORWARD-MIB::inetCidrRouteMetric4.ipv4")));
// request.add(new VariableBinding(new OID("IP-MIB::ipAdEntAddr")));
// request.add(new VariableBinding(new OID(".1.3.6.1.2.1.1.3.0")));
//
- 2022-04-07 20:38:13下载
- 积分:1
-
24 points of the game ... oh, a good look ... Ha ha
24点的游戏...好好看看哦-24 points of the game ... oh, a good look ... Ha ha
- 2022-05-24 09:37:18下载
- 积分:1
-
自然语言处理算法之遗忘算法JAVA实现
自然语言处理算法之遗忘算法的JAVA版实现,具体包含有大规模语料库的生成,词云,词翼的生成以及分词等相关算法,详细请参考相关博客http://blog.csdn.net/gzdmcaoyc/article/category/5973979
- 2022-07-23 21:07:39下载
- 积分:1
-
运行index.asp进行安装,用户密码可以自己设置,默认用户密码都为admin
安装完毕点击更新缓存,然后重新登陆index.asp即可进入首页。
模...
运行index.asp进行安装,用户密码可以自己设置,默认用户密码都为admin
安装完毕点击更新缓存,然后重新登陆index.asp即可进入首页。
模板也可以根据自己的需要进行修改,模板在template里面,要结合css修改
主页模板:index.html 栏目模板:channel.html 内容模板:article
-Index.asp running the installation, the user can set the password, the default user password for the admin installed click update cache, and then re-login to enter Home index.asp. Templates can also be according to their own needs be modified, template inside the template, in conjunction with the modified css templates Home: index.html template columns: channel.html content template: article
- 2022-07-11 11:28:22下载
- 积分:1
-
一个简单的论坛源码
JSP做的课程设计,没有使用框架,简单易学,适合JavaWeb新手。
- 2022-03-16 00:56:56下载
- 积分:1