public static void main(String[] args) { // TODO Auto-generated method stub ProxySubject a = new ProxySubject(); a.request(); }} interface Subject //代 ...
分类:
编程语言 时间:
2017-08-15 21:13:39
阅读次数:
643
package com.user;public class Thread_Thread { public static void main(String[] args) { // TODO Auto-generated method stub MyThread m_t=new MyThread(); ...
分类:
编程语言 时间:
2017-08-12 15:29:38
阅读次数:
165
润年案例 package test;import java.util.Scanner;public class runnian {= public static void main(String[] args) { // TODO Auto-generated method stub System. ...
分类:
编程语言 时间:
2017-08-03 09:52:27
阅读次数:
174
package Collection; public class PrimitiveType { public static void main(String[] args) { // TODO Auto-generated method stub float f=5.453215621546552... ...
分类:
其他好文 时间:
2017-08-01 12:31:51
阅读次数:
243
public class Demo { public static void main(String[] args) { // TODO Auto-generated method stub // 日期格式转换 SimpleDateFormat sdf = new SimpleDateFormat( ...
分类:
其他好文 时间:
2017-08-01 00:51:21
阅读次数:
228
public class BitTestMaxAndMin { public static void main(String[] args) { // TODO Auto-generated method stub int min=0x80000000; //Integer包装的整数类中可取的最小值... ...
分类:
其他好文 时间:
2017-07-28 13:27:38
阅读次数:
163
Registry registry = LocateRegistry.getRegistry(); registry.rebind(RemoteService.name, stub); Java 平台支持两种方式来做分布式应用。IDL与RMI方式。IDL是基于CORBA规范的,能够用来调用非java ...
分类:
编程语言 时间:
2017-07-28 12:48:53
阅读次数:
220
public class 冒泡排序法 { public static void main(String[] args) {// TODO Auto-generated method stub int []a= {89,50,84,57,61,20,86}; // 7个元素; for (int i=0 ...
分类:
编程语言 时间:
2017-07-24 21:22:08
阅读次数:
145
import java.util.Scanner;public class 比大小 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc =new Scanner(System ...
分类:
其他好文 时间:
2017-07-23 22:40:09
阅读次数:
214
public class 九九乘法表 { public static void main(String[] args) { // TODO Auto-generated method stub for ( int n=1;n<=9;n++) { for (int m=1;m<=n;m++) { Sy ...
分类:
编程语言 时间:
2017-07-23 22:30:31
阅读次数:
206