(javaimplementationcalculator,importjava.awt.*importjava.awt.event.*importjavax.swing.*publicclassJiSuanQi{FramefLabellabButton[]bt=newButton[29]JTextFieldtStringBufferstr//displaycharacterstringdisplayeddoublex,y//xandyaretheoperandsintz//Zrepresentsanoperatorclicksthat0means"+",1indicates"-",2is"*",3is"/"staticdoublem//numberinmemoryJiSuanQi(){) - IMDN开发者社群-imdn.cn">
登录
首页 » Java » JiSuanQi

JiSuanQi

于 2013-05-24 发布 文件大小:2KB
0 213
下载积分: 1 下载次数: 3

代码说明:

  java实现计算器,import java.awt.* import java.awt.event.* import javax.swing.* public class JiSuanQi { Frame f Label lab Button[] bt=new Button[29] JTextField t StringBuffer str //显示屏所显示的字符串 double x,y //x和y都是运算数 int z //Z表示单击了那一个运算符.0表示"+",1表示"-",2表示"*",3表示"/" static double m //记忆的数字 JiSuanQi() {(java implementation calculator, import java.awt.* import java.awt.event.* import javax.swing.* public class JiSuanQi {Frame f Label lab Button [] bt = new Button [29] JTextField t StringBuffer str //display character string displayed double x, y //x and y are the operands int z //Z represents an operator clicks that 0 means " +" , 1 indicates " -" , 2 is " *" , 3 is " /" static double m //number in memory JiSuanQi () {)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • src-mcml.tar
    一个很有名的学术源码,模拟光在组织中的传输过程,包括光的散射折射等一系列物理现象。(A well-known academic source, analog optical transmission in the organization process, including the scattering of light refraction, such as a series of physical phenomena.)
    2021-04-08 10:59:01下载
    积分:1
  • 567890-
    VB图像列表控件源代码,请大家有需要就下载吧(VB image list control source code, we need to download it)
    2013-08-04 15:05:39下载
    积分:1
  • CMYODBCEXCEL
    使用ODBC直接读写Excel文件数据,VC++经典编程学习源码,很好的参考资料。(Use the ODBC directly read and write Excel file data, VC++ classic learning programming source code, a good reference.)
    2013-11-25 13:05:43下载
    积分:1
  • convlstm
    说明:  实现卷积lstm的代码,也是从网上找的,大家可以参考(The code to implement convolutional LSTM is also found on the internet. You can refer to it.)
    2019-04-17 19:18:13下载
    积分:1
  • 好用档案管理软件
    好用电子档案管理系统是一款适用于多岗位的电子档案管理软件,好用电子档案管理系统操作简单,软件体积小,功能强大,能够帮助用户轻松管理电子文档,同时好用电子档案管理系统还有着很多特色的功能,是档案管理的有利助手。(Effective use of electronic archives management system is an electronic archives management software suitable for multiple posts. Effective use of electronic archives management system is simple to operate, small software volume, powerful, can help users easily manage electronic documents, while Effective use of electronic archives management system also has many unique functions, is archives management. A helpful assistant.)
    2020-06-23 22:40:01下载
    积分:1
  • Clock
    VC++可切换到数字模式的圆形时钟,VC++编程学习源码,很好的参考资料。(VC++ round the clock to switch to digital mode, VC++ programming learning source, a good reference.)
    2014-02-08 17:22:58下载
    积分:1
  • surfer8
    surfer开发脚本,内含20个surfer二次开发的源代码,能满足一般用户的需要(surfer script development, containing 20 surfer secondary development source code and can meet the needs of general users)
    2020-12-14 22:09:13下载
    积分:1
  • 一个小型的局域网聊天工具,供初学者参考,很有价值
    一个小型的局域网聊天工具,供初学者参考,很有价值-A small local area network chat tool for beginners reference value
    2022-07-12 00:04:57下载
    积分:1
  • Can be registered, log in, chat and other functions! SQL database used to store...
    可以实现注册,登录,聊天等功能!要用到SQL数据库存储数据!-Can be registered, log in, chat and other functions! SQL database used to store data!
    2022-02-05 10:14:31下载
    积分:1
  • SyncResult
    This class is used to communicate the results of a sync operation to the SyncManager. Based on the values here the SyncManager will determine the disposition of the sync and whether or not a new sync operation needs to be scheduled in the future.
    2013-12-11 13:17:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载