`
yujianlong1988
  • 浏览: 7050 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
通向架构师的道路 http://blog.csdn.net/column/details/j2ee-guru.html?page=1    http://www.iteye.com/blogs/subjects/zl563143188   http://pan.baidu.com/share/link?shareid=372668&uk=4076915866#dir/path=%2F%E5%AD%A6%E4%B9%A0%E6%96%87%E4%BB%B6
题目:打印出所有的  "水仙花数  ",所谓  "水仙花数  "是指一个三位数,其各位数字立方和 等于该数本身。例如:153 是一个  "水仙花数  ",因为 153=1 的三次方+5 的三次方+3 的 三次方。 (扩展:水仙花是三位数或者更多位数,例如54748就是各位数的5次方相加的和) @Test public void testshuixianhua2() { int num1, num2, num3; for (int i = 101; i < 100000; i++) { St ...
class Person {             private int a;             public int change(int m){return m;}            }        public class Teacher extends Person{             public int b;             public static void main(String arg[]){               Person p = new Person();               Teacher t = new ...
win32下的redishttps://github.com/downloads/dmajkic/redis/redis-2.1.5-win32.zip   eclipse自动化代码格式,统一规范 1.修改Java->Code Style->Organize Import, 设置Number of static imports needed of * to 1这样设置的话,import static org.junit.Assert.* 不会被解开成 ...
首先是下载windows 的python IDE(不知道咋称呼) 下载地址:http://www.python.org/getit/ 接下来参考这个网址 http://www.jb51.net/softjc/34898.html 有详细的安装步骤和editplus下的执行过程   Python语言是一款对缩进非常敏感的语言,给很多初学者带来了困惑,即便是很有经验的Python程序员,也可能陷入陷阱当中。最常见的情况是tab和空格的混用会导致错误,或者缩进不对,而这是用肉眼无法分别的。 在编译时会出现这样的错IndentationError:expected an inden ...
public class EggTest { /** * @param args */ public static void main(String[] args) { int eggnumber = 0; for (int i = 0;; i++) { if (i % 2 == 1 && i % 3 == 1 && i % 4 == 1 & i % 5 == 1 && i % 6 == 1 && i % 7 == 0) { eggnumber++; ...
public class Test { /** * @param args */ public static void main(String[] args) { //20块钱,1块钱买一瓶饮料,2个瓶子换一个饮料的情况 Test tt = new Test("1_1", 2, 20); tt.compute(); //39块钱,4块钱买3瓶饮料,5个瓶子换1个饮料的情况 Test tt2 = new Test("4_3", 5, 39); tt2.compute(); // ...
Global site tag (gtag.js) - Google Analytics