ITPUB个人空间 »
greenflute的个人空间
欢迎访问 greenflute 的个人空间
我的论坛主题
-
2008-03-05 04:35:29 / 电子图书与IT文档资料
# Paperback: 314 pages# Publisher: O'Reilly Media, Inc. (January 11, 2008)# Language: English# ISBN-10: 059652773X# ISBN-13: 978-0596527730# Product Dimensions: 9.1 x 7 x 0.9 inchesBook DescriptionIf you want to speed up the development of your .NET applications, you're ready for C# design patterns -- elegant, accepted and proven ways to tackle common programming problems. This practical guide offers you a clear introduction to the classic object-oriented design patterns, and
查看(1018)
评论(14)
-
2008-03-03 06:57:33 / 电子图书与IT文档资料
Apress.Foundation.ActionScript.3.0.with.Flash.CS3.and.Flex# Paperback: 450 pages# Publisher: friends of ED (December 17, 2007)# Language: English# ISBN-10: 1590598156# ISBN-13: 978-1590598153Book DescriptionIf you want to create exciting dynamic web sites that will amaze your online audience, then the Flash platform is a great way to go, with it's many features, including powerful graphical and sound and video capabilities. To really harness the power of Flash though, you
查看(949)
评论(17)
-
2008-02-15 08:48:29 / Java入门与认证版
学校里面的题目,问哪些x的初始值可以使最后的结果是-128?int [] a = new int [10];int b = ???a[9]= b;calc(a);System.out.println(a[1]);void calc(int [] x) {for (int i=x.length-2 ;i>0 ; i--, x--){x-= i-x*2;}}
查看(306)
评论(1)
-
2008-02-15 08:43:35 / Java入门与认证版
学校里面的题目,问哪些x的初始值可以使该程序段输出10?int [][] a = new int [2][2];a[0][0] = -5;a[0][1] = 6;a[1][0] = 2;a[1][1] = 7;int x = ???System.out.println(calc(a,x));int calc(int [][]a, int x) {for (int i=0;i
查看(341)
评论(2)
-
2008-02-15 08:38:59 / Java入门与认证版
学校里面的题目,问最后的输出是什么A a= new A(3);B b= new B();a.b = b;b.a = a;System.out.println(a.x);b.a.x = 9;a.b.x = 4;b.x = 20;System.out.println(a.x);class A {B b;int x;A (int x) {this.x = x;}}class B {A a;int x;}
查看(353)
评论(2)
-
2008-02-15 08:34:38 / Java入门与认证版
学校里面的题目,问那些初始值赋给x,可以最后得到301R r = new R();int x= ???System.out.println(r.r(x));class R{int r = 100;int r(int r) {if (r
查看(335)
评论(2)
-
2008-02-15 08:30:12 / Java入门与认证版
学校里的题,问输出结果是什么public class TestReference2 {public static void main(String[] args) {Z z = new Z();z.z("a");z.z("b");z.z("c");z.z();}public static class Z {Y z;void z(String s) {z = new Y(s, z);}void z() {Y z = this.z;while (z != null) {System.out.print(z.s);z = z.y;}}}public static class Y {String s;Y y;public Y(String s, Y y) {this.s = s;this.y = y;}
查看(387)
评论(7)
-
2008-02-15 08:26:33 / Java入门与认证版
学校里面的题,问最后输出是什么public class TestReference1 {public static class X {X x;String s;public X(String s) {this.x = this;this.s = s;}public void y(int y) {for (int i = 0; i < y; i++) {x.x = x.x.x;}}}public static void main(String[] args) {X x1 = new X("x1");X x2 = new X("x2");x1.x = x2;x2.x = x1;x2.y(2);System.out.println(x2.x.s);}}
查看(298)
评论(2)