bycj.net
当前位置:首页 >> jAvA50行简单代码 >>

jAvA50行简单代码

早上的时候把硬盘线重新弄 了下

展开全部/*这个相当详细了.程序也不算太难.而且给老师看的时候效果比较好.因为有图形化界面,又实现一个比较实用的功能.老师会比较高兴的. 建立一个文件名为Change.java就可以编译了*//** 这个程序实现输入身高算出标准体重,输入体重,

public class HelloWord{ public static void main(String[] args){ System.out.println("哈哈~"); System.out.println("哈哈~"); System.out.println("哈哈~"); System.out.println("哈哈~"); System.out.println("哈哈~");

我自己写的类,给你参考吧:/** Created on 2003-9-25*/ package common.util; import java.util.logging.Logger;/** * @author zjh * @version 1.0 */ public class StringUtil { //private static Logger log = Log.getLog(StringUtil.class.getName()); /** * 将类

随便给你写了一个package com.wys.util;import java.util.ArrayList;import java.util.List;import java.util.Random;public class Test {public static List smallNumbers,largeNumbers;public static int sum1 = 0,sum2 = 0;public static void main(String[] args) {

刚写的,新鲜出炉import java.util.ArrayList;import java.util.Scanner;public class LoopAndFunction { public static void main(String[] args){ Scanner input = new Scanner(System.in); int number; ArrayList theList = new ArrayList(); System.out.print("

package net.at111.iwf.wannianli; import java.util.Scanner; public class PrintCalendar2 { /** * @author zpf万年历 用天数差的办法 */ public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("************

//两种方式public class ThreadDemo extends Thread{ public void run(){ System.out.println("线程"+Thread.currentThread().getName()); } public static void main(String[] args){ ThreadDemo t1 = new ThreadDemo();//创建线程 t1.start();

public class TestStar { public static void main(String[] args) { String star = "*"; for (int i = 0; i < 5; i++) { if (i == 0) { System.out.print(" " + star); System.out.println(); } if (i == 1) { for (int z = 0; z < 4; z++) { System.out.print(" " + star); } System.out.

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class AccountDemo { public static double MONEY = 0;// 初始化金额是100元. public static void main(String[] args) { final String USER_NAME =

jmfs.net | lstd.net | eonnetwork.net | lzth.net | ymjm.net | 网站首页 | 网站地图
All rights reserved Powered by www.bycj.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com