www.ypnh.net > 求JAVA源代码

求JAVA源代码

import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class GradeStatistic { public static void main(String[] args) { GradeStatistic gs = new GradeStatistic(); List list = new ArrayList(); float su...

贪吃蛇 import java.awt.*; import java.awt.event.*; public class GreedSnake //主类 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub new MyWindow(); } } class MyPanel extends Pane...

连连看java源代码 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class lianliankan implements ActionListener { JFrame mainFrame; //主面板 Container thisContainer; JPanel centerPanel,southPanel,northPane...

连连看java源代码 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class lianliankan implements ActionListener { JFrame mainFrame; //主面板 Container thisContainer; JPanel centerPanel,southPanel,northPane...

给你个做好了的Java的源程序的记事本,自己看看就行了的,不怎么难的··· import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; public class MyNotepad implements ActionListener{ private JFrame frame=new ...

package org.java.test; import java.util.Scanner; public class CalendarTest{ public static void main(String[] args) { System.out.println("欢 迎 使 用 万 年 历"); Scanner input = new Scanner(System.in); System.out.print("\n请选择...

import java.awt.*; import java.awt.event.*; import java.lang.*; import javax.swing.*; public class Counter extends Frame { //声明三个面板的布局 GridLayout gl1,gl2,gl3; Panel p0,p1,p2,p3; JTextField tf1; TextField tf2; Button b0...

包自己加import java.io.File;import java.io.FileReader;import java.util.Properties;import java.util.Scanner;public class TD {private static Properties prop;private static Scannerin = new Scanner(System.in);/** * 初始化,加载词典...

一下代码仅供参考 package com.kidd.test.zhidao;import java.util.NoSuchElementException;import java.util.Scanner;public class Test {public static void main(String[] args) {Scanner sc = new Scanner(System.in);int a = 0;int b = 0;b...

【ClientSocketDemo.java 客户端Java源代码】 import java.net.*; import java.io.*; public class ClientSocketDemo { //声明客户端Socket对象socket Socket socket = null; //声明客户器端数据输入输出流 DataInputStream in; DataOutputStrea...

网站地图

All rights reserved Powered by www.ypnh.net

copyright ©right 2010-2021。
www.ypnh.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com