1.package com.gufengxiachen.java.reflectiontest; public class Person { private String name; private int age; private static int total; pub...
分类:
编程语言 时间:
2014-07-22 00:24:33
阅读次数:
287
排列组合:C(m,n),m为给定数列,n为要从数列m中取元素的数量,GetResult()获取所有不重复的组合。 public class MathCombination { List list; int count = 0; private Math...
分类:
其他好文 时间:
2014-07-22 00:23:35
阅读次数:
173
1 import java.util.ArrayList; 2 3 class Manager 4 { 5 private String name; //经理的名字 6 public Manager(String string) { 7 name=s...
分类:
其他好文 时间:
2014-07-22 00:22:35
阅读次数:
315
xml文件参数对象:1 public class Columns{2 private String basedate_code;3 private String tableName;4 private String codeDescribeindex;5 privat...
分类:
数据库 时间:
2014-07-22 00:06:34
阅读次数:
226
XMLMapperBuilder.java ? //解析<cache?/>?配置元素,创建cache对象
private?void?cacheElement(XNode?context)?throws?Exception?{
????if?(context?!=?null)?{
??????String?typ...
分类:
其他好文 时间:
2014-07-21 23:31:03
阅读次数:
414
相信word中的 艺术字 功能大家都不陌生。今天, 我们就利用C#来制作几款自己的艺术字, 可能会对我们了解字体图像的制作原理有一些帮助. 至于有没有使用价值我保持沉默.一. 投影效果程序运行效果截图:程序代码实现如下:投影效果代码private void Form1_Paint(object se...
分类:
Web程序 时间:
2014-07-21 23:30:40
阅读次数:
362
private static void prime(int i){
int j = 2;
while(true){
while(i%j == 0 && i != j){
System.out.println("Prime num " + j);
i = i/j;
}
if(i == j){
...
分类:
其他好文 时间:
2014-07-21 23:30:20
阅读次数:
426
Lesson 11 private ['praivit] a.私人的2 conversation [k?nv?'sei??n] n.谈话3 theatre ['θi?t?] n.剧场,戏院4 seat [si:t] n.座位5 play [plei] n.戏6 loudly ['laudli] ad...
分类:
其他好文 时间:
2014-07-21 14:32:06
阅读次数:
373
第9章1、在内部类中可以随意使用外部类的成员方法以及成员变量,哪怕这些类成员被修饰为private,内部类的实例一定要绑定在外部类的实例上,如果从外部类中初始化一个内部类对象,那么内部类对象就会绑定在外部类对象上。2、内部类可以访问它的外部类的成员,但内部类的成员只有..
分类:
编程语言 时间:
2014-07-21 12:13:13
阅读次数:
259
using System;using System.Collections; //要用ArrayList要引用这个class CourseScore { //普通的属性用法 private string name; private int courseID; private in...
分类:
其他好文 时间:
2014-07-21 11:00:37
阅读次数:
156