用java编写最简单的程序2*8=写出代码

用java编写最简单的程序2*8=写出代码,第1张

步骤:

一、新建一个java文件,文件名可不能随便乱取,要与公共类名一致(区分大小写) 如 Testjava

二、书写代码

public class Test{

public static void main(String[] args){

Systemoutprintln("28="+28);

}

}

三、编译

如没有IDE(集成开发环境)

就在命令提示符下使用 javac Testjava

然后执行 java Test

注意:提示符的路径为 Testjava所在的路径

已经通过本人测试,没有问题!

我把你的程序,做了一下调整,你对比看了会明白点:

class Point{

protected int x,y;

public Point(){

x=0;

y=0;

Systemoutprintln("Point constructor:"+thistoString());

}

public Point(int a,int b){

x=a;

y=b;

Systemoutprintln("1---Base Class Start --");

Systemoutprintln("Point constructor:"+thistoString());

}

public String toString()

{

return "["+x+","+y+"]";

}

}

class Circle extends Point {

protected double radius;

public Circle(){

Systemoutprintln("2---Son Class Start---");

super(4,5);

Systemoutprintln("3---Radius Will be assigned a value---");

radius = 10;

Systemoutprintln("Circle constructor:"+thistoString());

}

public String toString(){

return "Center="+supertoString()+"Radius="+radius;

}

}

public class Test1{

public static void main(String args[]){

Circle circle1=new Circle();

}

}

import javaawtevent;

import javaawt;

import javaio;

import javautilCalendar;

import javautilDate;

import javaxswing;

class Editor extends Frame implements ActionListener,ItemListener

{

// Date date=new Date();

int n1;String str="";int k=0;String st1,st2;

JTextArea ta=new JTextArea(50,50);

Dialog dialog,dialog1;

Choice ce1,ce2,ce3;

Button btn1,btn2,btn3;Panel p1=new Panel();

Panel p2=new Panel();Panel p3=new Panel();Panel p4=new Panel();

public Editor (String s)

{

super ("记事本编辑板");

ImageIcon YouImg = new ImageIcon("iconimagejpg");

setIconImage(YouImggetImage());

addWindowListener(new WindowAdapter(){

public void windowClosing(WindowEvent e){

dispose();

Systemexit(0);

}

});

setBounds(50,35,700,500);

MenuBar mb=new MenuBar();

setMenuBar(mb);

Menu file=new Menu("文件(F)");Menu edit=new Menu("编辑(E)");Menu help=new Menu("帮助(H)");

Menu pattern=new Menu("格式(P)");Menu time=new Menu("时间(T)");

MenuItem exit=new MenuItem("退出",new MenuShortcut(KeyEventVK_Q));

MenuItem tdate=new MenuItem("日期/时间",new MenuShortcut(KeyEventVK_D));

MenuItem renew=new MenuItem("新建", new MenuShortcut(KeyEventVK_N));

MenuItem save=new MenuItem("保存", new MenuShortcut(KeyEventVK_S));

MenuItem open=new MenuItem("打开",new MenuShortcut(KeyEventVK_O));

MenuItem copy=new MenuItem("复制",new MenuShortcut(KeyEventVK_C));

MenuItem paste=new MenuItem("粘贴",new MenuShortcut(KeyEventVK_V));

MenuItem cut=new MenuItem("剪切",new MenuShortcut(KeyEventVK_X));

MenuItem helptopic=new MenuItem("主题",new MenuShortcut(KeyEventVK_T));

helptopicaddActionListener(this);

dialog=new Dialog(this, "字体设置");dialogsetSize(300,300);

dialog1=new Dialog(this, "帮助主题");dialog1setBounds(250,100,300,400);

dialogaddWindowListener(new WindowAdapter(){

public void windowClosing(WindowEvent e){

dialogsetVisible(false);}

});

dialog1addWindowListener(new WindowAdapter(){

public void windowClosing(WindowEvent e){

dialog1setVisible(false);}

});

//dialogsetBackground(ColorWHITE);

dialogsetLayout(null);dialogsetBounds(170,150,450,300);

Label L1=new Label("字体(F)");Label L2=new Label("字形(Y)");

Label L3=new Label("大小(S)");TextArea ta1=new TextArea(5,5);

ta1=new TextArea("至于记事本的主题嘛,因为本人的水平有限, 所有不能为大家作过多的指导,望大家见谅!"); //在这里我想加一个文本框用来放帮助信息。

ce1=new Choice();ce2=new Choice();

ce3=new Choice();

btn1=new Button("确定");btn2=new Button("取消");btn1addActionListener(this);btn2addActionListener(this);

btn3=new Button("颜色");

btn3addActionListener(this);

ce1add("华文行楷");ce1add("华文中宋");ce1add("华文新魏");ce1add("华文细黑");ce1add("宋体");ce1add("方正姚体");

ce1add("幼圆");ce1add("隶书");ce1add("楷体-GB2312");ce1add("华文行楷");ce1add("华文彩云");ce1add("仿宋-GB2312");

ce2add("粗体");ce2add("斜体");ce2add("常规");

for(int n1=0;n1<=100;n1++)

{ce3add(""+n1);}

dialogadd(p1);p1setBounds(5,30,440,35);p1setLayout( null);//p1setBackground(Colorred);

dialogadd(p2);p2setBounds(5,65,440,27);dialogadd(p3);p3setBounds(5,90,440,40);//p4setBounds(5,120,440,138);

p1setLayout( null);

p1add(L1);L1setBounds(5,15,50,25);p1add(L2);L2setBounds(150,15,50,25);

p1add(L3);L3setBounds(250,15,50,25);p2setLayout( null);//p2setBackground(Coloryellow);

p2add(ce1);ce1setBounds(5,0,130,25);p2add(ce2);ce2setBounds(160,0,90,25);p2add(ce3);ce3setBounds(260,0,75,25);

p2add(btn1);btn1setBounds(360,0,75,25);

p3setLayout( null);p3add(btn2);btn2setBounds(360,10,75,25);p3add(btn3);btn3setBounds(160,10,75,25);

dialogadd(p4);p4setBackground(Coloryellow);p4setBounds(5,120,440,138);

dialog1add(ta1);

//设置字体的下拉情况

MenuItem Font=new MenuItem("字体");//给字体加监听器

FontaddActionListener(this);

MenuItem Replace=new MenuItem("替换"); MenuItem Seek=new MenuItem("查找");

//首要添加组件的情况

mbadd(file);mbadd(edit);mbadd(pattern);mbadd(time);mbadd(help);

fileadd(renew);fileaddSeparator();fileadd(open);timeadd(tdate);

fileaddSeparator(); fileadd(exit);fileaddSeparator();fileadd(save);

editadd(copy); editaddSeparator();editadd(paste);editaddSeparator();editadd(cut);

patternadd(Font); patternadd(Replace);

patternadd(Seek);helpadd(helptopic);

//给必要的组件加上监听器

renewaddActionListener( this);tdateaddActionListener(this);

openaddActionListener(this); saveaddActionListener(this);exitaddActionListener(this);

cutaddActionListener(this);copyaddActionListener(this);pasteaddActionListener(this);

ce1addItemListener(this);ce2addItemListener(this);ce3addItemListener(this);

//添加必要的组件

add(ta,"Center");tasetBackground(new Color(249,255,234));

setSize(700,500);

setVisible(true);

thisvalidate() ;

}

public void itemStateChanged(ItemEvent e) {

if (ce2getSelectedItem()equals("粗体"))

{ k=1;st1=ce1getSelectedItem();st2=ce3getSelectedItem();}

if (ce2getSelectedItem()equals("斜体"))

{ k=2;st1=ce1getSelectedItem();st2=ce3getSelectedItem();}

if (ce2getSelectedItem()equals("常规"))

{ k=3;st1=ce1getSelectedItem();st2=ce3getSelectedItem();}

}

public void actionPerformed(ActionEvent e)

{

if(egetActionCommand()equals("新建"))

{Systemoutprintln("new ");

tasetText("");}

if(egetActionCommand()equals("退出"))

{ Systemexit(0);}

try

{

if(egetActionCommand()equals("打开"))

openText();

if(egetActionCommand()equals("保存"))

saveText();

}catch(IOException e1){}

if(egetActionCommand()equals("复制"))

{ str=tagetSelectedText();}

if(egetActionCommand()equals("粘贴"))

{ tainsert(str,tagetCaretPosition());}

if(egetActionCommand()equals("剪切"))

{str=tagetSelectedText();tareplaceRange("",tagetSelectionStart(),tagetSelectionEnd());

}

if(egetActionCommand()equals("字体"))

{dialogsetVisible(true);}

if(egetActionCommand()equals("主题"))

{dialog1setVisible(true);}

if(egetActionCommand()equals("颜色"))

{

Color clr=JColorChoosershowDialog(this,"颜色对话框",null);

tasetForeground(clr);

}

if(egetSource()==btn2)

dialogsetVisible(false);

if(egetSource()==btn1)

{

if(k==1)

{ tasetFont(new Font(st1,FontBOLD,IntegerparseInt(st2)));}

if(k==2)

{ tasetFont(new Font(st1,FontITALIC,IntegerparseInt(st2)));}

if(k==3)

{ tasetFont(new Font(st1,FontPLAIN,IntegerparseInt(st2)));}

dialogsetVisible(false);

}

//if (egetActionCommand()equals("日期/时间"))

//tasetText(tagetText()+""+date);

if(egetActionCommand()equals("日期/时间"))

{

Calendar c1 =CalendargetInstance();

int y = c1get(CalendarYEAR);

int m = c1get(CalendarMONTH);

int d = c1get(CalendarDATE);

int h = c1get(CalendarHOUR);

int m1 = c1get(CalendarMINUTE);

int m2 = m+1;

tasetText(tagetText()+""+(y+"年"+m2+"月"+d+"日"+h+":"+m1));

}

}

public void openText() throws IOException

{

FileDialog fd=new FileDialog(this,"打开文件对话框",FileDialogLOAD);

fdsetVisible(true);FileInputStream fis=new FileInputStream(fdgetDirectory()+fdgetFile());

tasetText("");

int n=0;

while((n=fisread())!=-1)

taappend(""+(char)n);

fisclose();

}

public void saveText() throws IOException

{

FileDialog fd=new FileDialog(this,"打开文件对话框",FileDialogSAVE);

fdsetVisible(true);

FileOutputStream out=new FileOutputStream(fdgetDirectory()+fdgetFile()+"txt");

String str=tagetText();

String str1=tagetText();

for(int n=0;n<strlength();n++)

outwrite((byte)strcharAt(n));

outclose();

}

public static void main(String[] args)

{

Editor f=new Editor(" 记事本程序");

//添加时间代码

Date date=new Date();

Systemoutprint(date);

/Calendar now=CalendargetInstance();

int year=nowget(CalendarYEAR);

int month=nowget(CalendarMONTH)+1;

int day=nowget(CalendarDATE);

Systemoutprint(year+"年"+month+"月"+day+"日");

int week=nowget(CalendarDAY_OF_WEEK);

String str="日一二三四五六";//星期1-7

int i=2(week-1);

Systemoutprintln("星期"+strsubstring(i,i+2));//对应中文的下标/

}

class dialog extends Dialog

{

public dialog()

{

super(dialog, "字体设置");

class Mycanvas extends Canvas

{

Toolkit tk;

Image img;

Mycanvas()

{

setSize(440,138);

tk=getToolkit();

img=tkgetImage("photojpg");

}

public void paint(Graphics g)

{

gdrawImage(img,5,120,440,138,this);

}

}

}

}

}

下面是我以前做的小程序,希望能给你点帮助!

package menu;

import javaawt;

import javaawtevent;

import javaxswing;

public class DaYin extends JFrame implements ActionListener{

public DaYin() {

Container c=thisgetContentPane();

csetLayout(new BorderLayout());

JMenuBar jmb=new JMenuBar();

JMenu jm=null;

jm=new JMenu("文件");

jmbadd(jm);

jm=new JMenu("编辑");

jmbadd(jm);

jm=new JMenu("打印");

JMenuItem jmi=new JMenuItem("打印预览");

jmiaddActionListener(this);

jmadd(jmi);

jmbadd(jm);

jm=new JMenu("帮助");

jmbadd(jm);

thissetJMenuBar(jmb);

thissetSize(1024,768);

thissetVisible(true);

thisaddWindowListener(new WindowAdapter(){

public void windowClosing(WindowEvent e){

Systemexit(0);

}

});

}

public static void main(String[] args) {

new DaYin();

}

public void update(Graphics g){

gsetColor(Colorblack);

String title[]={"摘要","科目","子目或户名","借方金额","贷方金额"};

String danwei[]={"千","百","十","万","千","百","十","元","角","分"};

int csx=200;//打印x的初始坐标

int csy=200;//打印y的初始坐标

int x=csx;

int y=csy;

int a=x+20;//打印字体x的初始坐标

int b=y+20;//打印字体y的初始坐标

int row=7;//一共打印出几条横线

int cul=5;//一共打印出几条竖线

int hangju=30;//线与线之间的纵向间距

int lieju=100;//线与线之间的横向间距

int yy=hangjurow+y;

int c=yy+20;

gsetFont(new Font("行楷",FontTYPE1_FONT,24));

gdrawString("记 账 凭 证", x+160, y-40);//打印出记账凭证这几个字

gdrawLine(x+100, y-30, x+340, y-30);//打印出记账凭证下面的那条线

gsetFont(new Font("行楷",FontTYPE1_FONT,13));

gdrawString("年 月 日 第_______号", x+260, y-10);

//gdrawLine(x+430, y-10, x+470, y-10);

for(int i=0;i<=row;i++){

gdrawLine(x, y, cullieju+x+25, y);//此循环用于画出表格的行

if(i==0)

y+=hangju2;

else

y+=hangju;

}

y=csy;

gdrawLine(x+lieju3, y+hangju, cullieju+x, y+hangju);//打印出第一行半的横线

for(int j=0;j<=cul;j++){

gdrawLine(x, y, x, rowhangju+y);//此循环用于画出表格的列

x+=lieju;

}

x=csx;

for(int z=0;z<cul;z++){

gsetColor(Colorred);//设置颜色

gsetFont(new Font("",FontTYPE1_FONT,13));//设置表头字体

if(z<3)

gdrawString(title[z], a, b+hangju/2);

else

gdrawString(title[z], a, b);//为表格添加表头

a+=lieju;

}//76-89打印出一个表格形状

int xx=lieju3+x+10;

for(int v=0;v<=9;v++){

gdrawLine(xx, y+hangju, xx, rowhangju+y+hangju);//此循环用于画出表格的列

gsetFont(new Font("",FontTYPE1_FONT,11));

gdrawString(danwei[v], xx-10, y+hangju+20);//为表格添加表头

if(v%2==0)

gsetColor(Colorred);//设置颜色

else

gsetColor(ColorBLUE);//设置颜色

xx+=10;

}

for(int n=0;n<9;n++){

gdrawLine(xx, y+hangju, xx, rowhangju+y+hangju);//此循环用于画出表格的列

gdrawString(danwei[n],xx-10, y+hangju+20);//为表格添加表头

if(n%2==0)

gsetColor(Colorred);//设置颜色

else

gsetColor(ColorBLUE);//设置颜色

xx+=10;

}

gdrawString(danwei[9],xx-10, y+hangju+20);

gsetColor(Colorblack);//设置颜色

for(int i=0;i<=1;i++){

gdrawLine(x,yy , cullieju+x, yy);//此循环用于画出表格的行

yy+=hangju;

}

yy=hangjurow+y;

for(int j=0;j<=3;j++){

gdrawLine(x, yy, x, (row+1)hangju+y);//此循环用于画出表格的列

if(j>0){

x+=lieju;

}else{

x+=lieju3;

}

}//112-128打印出表格的最后一行单元格

x=csx;

gsetFont(new Font("",FontTYPE1_FONT,13));

gdrawString("合 计",x+60, c);

gdrawString("会计主管 记账 出纳 审核 制证", x+30, yy+50);

gdrawLine(cullieju+x+25, y, cullieju+x+25, (row+1)hangju+y);//打印出最后一列

gdrawString("记",cullieju+x+6, y+15);

gdrawString("账", cullieju+x+6, y+35);

gdrawString("√", cullieju+x+6, y+55);//134-136为最后一列写入字体

gdrawString("附",cullieju+x+35, y+75);

gdrawString("件", cullieju+x+35, y+95);

gdrawString("张", cullieju+x+35, y+175);//134-136为最后一列后写入字体

}

public void actionPerformed(ActionEvent e) {

// TODO Auto-generated method stub

if(egetActionCommand()equals("打印预览")){

thisrepaint();

}

}

}

使用drawLine()做了一个记账凭证。

执行点击"打印"子菜单"打印预览"就可显示出我们所画的"记账凭证表"

希望这个小程序能够给你点灵感

//问题:求一个长方形的周长和面积

/以面向过程的程序设计方式思考:

1确定长方形的周长和面积的算法;

2编写两个方法(函数)分别计算长方形的周长和面积;

3求周长的方法(函数)和求面积的方法(函数)需要两个参数,

分别是长方形的长和宽/

//面向过程的程序设计代码:

/classRectangle

{

static

float

perimeter(float

length,floatwidth)

{

return

2(length+width);

}

static

float

area(float

length,

float

width)

{

return

lengthwidth;

}

public

static

void

main(String[]

args)

{

Systemoutprintln("the

perimeter

is

="

+perimeter(3123f,4267f));

Systemoutprintln("the

area

is="

+area(3123f,4267f));//使用f来表示浮点

}

}/

/以面向对象的程序设计方式思考:

1一个长方形可以看成是一个长方形对象;

2一个长方形对象有两个状态(长和宽)和两个行为(求周长和面积)

3将所有长方形的共性抽取出来,设计一个长方形的类

4通过长方形对象的行为,就可以求出某个具体的长方形的周长和面积/

//面向对象的程序设计代码:

classRectangle

{

float

l,h;//有两个状态,即两个成员变量

float

perimeter()

{

return

2(l+h);

}

float

area()

{

return

lh;

}

public

static

void

main(String[]

args)

{

Rectangle

rect1=newRectangle();

Rectangle

rect2=newRectangle();

rect1l=1013f;

rect1h=574f;

rect2l=1221f;

rect2h=2413f;

Systemoutprintln("Theperimeter

is

="

+

rect1perimeter());

Systemoutprintln("The

area

is="

+

rect1area());

Systemoutprintln("Theperimeter

is

="

+

rect2perimeter());

Systemoutprintln("The

area

is="

+

rect2area());

}

/K:\Java\try\lesson3>javacRectanglejava

K:\Java\try\lesson3>java

Rectangle

The

perimeter

is

=3174

The

area

is

=581462

The

perimeter

is

=7268

The

area

is

=2946273

/

}

你好!很高兴为你解答。

首先,为你提供两个类,一个是StuFee对象,用于模拟学费对象

二是TestStuFee对象,用于运行测试学费对象,解决问题

其次,以下是运行结果:

run:

第十年学费:15513282159785162

第11到第14年7020739453239123

请输入10个整数

1:1

2:2

3:3

4:4

5:5

6:6

7:7

8:8

9:9

10:10

5

请输入10个浮点数

1:11

2:22

3:33

4:44

5:55

6:66

7:77

8:88

9:99

10:1010

596

成功生成(总时间:28 秒)

最后,给出源码。请建2个java文件,分别放置这两个类。

第一个

package szuyklcalcStuFee;

/

@author 叶科良

/

public class StuFee {

private double addSpeed;

private double baseFee;

private double fee;

public double getAddSpeed() {

return addSpeed;

}

public void setAddSpeed(double addSpeed) {

thisaddSpeed = addSpeed;

}

public double calcFee(double year) {

return (Mathpow((1 + thisgetAddSpeed()), year - 1)) thisgetBaseFee();

}

public double calcFee(int year1, int year2) {

if (year1 <= year2) {

double result = 0;

for (int i = 0; i < (year2 - year1+1); i++) {

result +=thiscalcFee(year1+i);

}

return result;

}

return -1;

}

public StuFee(double addSpeed, double baseFee) {

thissetAddSpeed(addSpeed);

thissetBaseFee(baseFee);

}

public double getBaseFee() {

return baseFee;

}

public void setBaseFee(double baseFee) {

thisbaseFee = baseFee;

}

public static int average(int[] array) {

if (null != array) {

if (arraylength != 0) {

int resultInt = 0;

for (int i = 0; i < arraylength; i++) {

resultInt += array[i];

}

return (int)(resultInt/arraylength);

} else {

return -1;

}

} else {

return -1;

}

}

;

public static double average(double[] array) {

if (null != array) {

if (arraylength != 0) {

double resultDouble = 0;

for (int i = 0; i < arraylength; i++) {

resultDouble += array[i];

}

return (resultDouble/arraylength);

} else {

return -1;

}

} else {

return -1;

}

};

}

第二个

/

To change this template, choose Tools | Templates

and open the template in the editor

/

package szuyklcalcStuFee;

import javautilScanner;

/

@author 叶科良

/

public class TestStuFee {

public static void main(String[] args) {

StuFee test = new StuFee(005, 10000);

Systemoutprintln("第十年学费:" + testcalcFee(10));

Systemoutprintln("第11到第14年" + testcalcFee(11, 14));

TestStuFee testStu = new TestStuFee();

try {

Systemoutprintln("请输入10个整数");

Systemoutprintln(testaverage(testStugetAcceptAsIntArray(10)));

} catch (javautilInputMismatchException e) {

Systemoutprintln("请输入整数!");

}

try {

Systemoutprintln("请输入10个浮点数");

Systemoutprintln(testaverage(testStugetAcceptAsDoubleArray(10)));

} catch (javautilInputMismatchException e) {

Systemoutprintln("请输入浮点数!");

}

}

/

指定数组大小,从命令行接收整数

@param arraySize 数组大小

@return 原始整数数组

/

public int[] getAcceptAsIntArray(int arraySize) {

int[] acceptArray = new int[arraySize];

Scanner reader = new Scanner(Systemin);

for (int i = 0; i < arraySize; i++) {

Systemoutprint((i + 1) + ":");

acceptArray[i] = readernextInt();

}

return acceptArray;

}

/

指定数组大小,从命令行接收浮点数

@param arraySize 数组大小

@return 原始浮点数数组

/

public double[] getAcceptAsDoubleArray(int arraySize) {

double[] acceptArray = new double[arraySize];

Scanner reader = new Scanner(Systemin);

for (int i = 0; i < arraySize; i++) {

Systemoutprint((i + 1) + ":");

acceptArray[i] = readernextDouble();

}

return acceptArray;

}

}

最后,有问题可以追问!

import javaawtFlowLayout;

import javaawteventActionEvent;

import javaawteventActionListener;

import javaxswingJButton;

import javaxswingJFrame;

import javaxswingJLabel;

import javaxswingJOptionPane;

import javaxswingJPasswordField;

import javaxswingJTextField;

public class Login {

public static void main(String args[]) {

LoginFrm frame = new LoginFrm();

}

}

class LoginFrm extends JFrame implements ActionListener{

JLabel nameLabel=new JLabel("用户名:");

JLabel pwdLabel=new JLabel("密码:");

JTextField name=new JTextField(10);

JPasswordField password=new JPasswordField(10);

JButton butnSure=new JButton("确定");

JButton butnCancel=new JButton("取消");

public LoginFrm() {

super("登陆");

setBounds(500, 200, 280, 220);

setVisible(true);

setLayout(null);

nameLabelsetBounds(45, 20, 100, 25);

add(nameLabel);

add(name);

namesetBounds(105, 20, 110, 25);

add(pwdLabel);

pwdLabelsetBounds(45, 60, 100, 25);

add(password);

passwordsetBounds(105, 60, 110, 25);

add(butnSure);

butnSuresetBounds(45, 100, 80, 25);

add(butnCancel);

butnCancelsetBounds(135, 100, 80, 25);

butnSureaddActionListener(this);

butnCanceladdActionListener(this);

setDefaultCloseOperation(JFrameEXIT_ON_CLOSE);

validate();//刷新

}

public void actionPerformed(ActionEvent e) {

if (egetSource() ==butnSure){

Systemoutprintln("用户名:"+namegetText());

Systemoutprintln("密码:"+namegetText());

if("admin"equals(namegetText()trim())&&"123"equals(passwordgetText()trim())){

thisdispose();

new MainFrm("用户界面",namegetText()trim(),passwordgetText()trim());

}else {

JOptionPaneshowMessageDialog(this, "用户不存在");

}

}else if(egetSource()==butnCancel){

Systemexit(1);

}

}

class MainFrm extends JFrame{

private JLabel info;

public MainFrm(String s,String name,String password) {

super(s);

setBounds(400, 200, 500, 400);

setLayout(new FlowLayout());

info=new JLabel("登陆成功,用户名:"+name+",密码:"+password);

add(info);

setVisible(true);

setDefaultCloseOperation(JFrameEXIT_ON_CLOSE);

validate();

}

}

}

以上就是关于用java编写最简单的程序2*8=写出代码全部的内容,包括:用java编写最简单的程序2*8=写出代码、一个简单的java程序、用JAVA编个简单的记事本程序等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/9280804.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-26
下一篇 2023-04-26

发表评论

登录后才能评论

评论列表(0条)

保存