首页 > 编程语言
黑马程序员--Java基础--01基本概念
------- android培训、java培训 期待与您交流! ----------1.Java的三大技术架构 JAVAEE(Java Platform Enterprise Edition): 开发企业环境下的应用程序,主要针对web程序开发; JAVASE(Java Platform St.....
分类:编程语言   时间:2014-08-09 11:12:07    收藏:0  评论:0  赞:0  阅读:426
java之登录实例(面向对象,静态,scanner等)
分析:抽取用户类,提取出用户的属性,方法 ????????? 用户类测试:判断登陆,注册等 User :?用户类??? package cn.my.login; import java.util.Scanner; /** ?*? 分析:用户的基本信息 ?*? 用户...
分类:编程语言   时间:2014-08-09 09:09:47    收藏:0  评论:0  赞:0  阅读:428
Python 获取Facebook特定用户的粉丝数
Python 获取Facebook特定用户的粉丝数...
分类:编程语言   时间:2014-08-09 09:08:47    收藏:0  评论:0  赞:0  阅读:451
Python 获取Facebook特定用户的feed和link
Python 获取Facebook特定用户的feed和link...
分类:编程语言   时间:2014-08-09 09:08:27    收藏:0  评论:0  赞:0  阅读:714
菜鸟译文(一)——Java中的继承和组合
阅读英文的能力对于程序员来说,是很重要的。这几年也一直在学习英文,今天心血来潮,就在网上找了一篇简短的博文翻译一下。水平一般,能力有限,还请各位看官多多指点。 译文: 本文将会举例说明Java中继承和组合的概念。首先举一个继承的例子,然后展示一下如何用组合来改善继承的设计。最后概括一下如何在它...
分类:编程语言   时间:2014-08-09 09:05:47    收藏:0  评论:0  赞:0  阅读:330
Python 学习笔记(3)
Class:def scope_test(): def do_local(): spam = "local spam" def do_nonlocal(): nonlocal spam spam = "nonlocal spam" def ...
分类:编程语言   时间:2014-08-09 09:02:47    收藏:0  评论:0  赞:0  阅读:302
Demo of Python "Map Reduce Filter"
Here I share with you a demo for python map, reduce and filter functional programming that owned by me(Xiaoqiang). I assume there are two DB tables, that `file_logs` and `expanded_attrs` which re...
分类:编程语言   时间:2014-08-09 04:57:17    收藏:0  评论:0  赞:0  阅读:485
Java 语法 索引 ----- 异常
import java.io.*;// ...FileReader in = null;try { in = new FileReader("Missing.file");}catch(FileNotFoundException e) { System.out.print(e.getMessage(...
分类:编程语言   时间:2014-08-09 04:53:47    收藏:0  评论:0  赞:0  阅读:374
Java 语法 索引 ----- 抽象类(Abstract)
abstract class Shape{ public int x = 100, y = 100; public abstract int getArea();}class Rectangle extends Shape{ @Override public int getArea() { retu...
分类:编程语言   时间:2014-08-09 04:53:36    收藏:0  评论:0  赞:0  阅读:440
Java 语法 索引 ----- 枚举(Enum)
enum Speed{ STOP, SLOW, NORMAL, FAST}Speed s = Speed.SLOW;switch(s) { case SLOW: break; }参考文献: Java Quick Syntax Reference by Mikael Olsson
分类:编程语言   时间:2014-08-09 04:53:16    收藏:0  评论:0  赞:0  阅读:365
Java 语法 索引 ----- 接口
interface MyInterface{ void exposed();}class MyClass implements MyInterface{ public void exposed() {} public void hidden() {}}public static void main(...
分类:编程语言   时间:2014-08-09 04:53:07    收藏:0  评论:0  赞:0  阅读:443
Java 语法 索引 ----- 构造函数(constructor)
重载 class MyRectangle{ int x, y; public MyRectangle() { x = 10; y = 20; } public MyRectangle(int a) { x = a; y = a; } public MyRectangle(int a, int b) ...
分类:编程语言   时间:2014-08-09 04:52:57    收藏:0  评论:0  赞:0  阅读:360
Java 语法 索引 ----- 常量(Constants)
通过关键字Final我们可以使变量成为常量。这意味着无法再给这个变量赋值,不然编译器就会报错。 class MyClass{ final double E = 2.72; // run-time constant 运行常量 final static double C = 3e8; // compil...
分类:编程语言   时间:2014-08-09 04:52:36    收藏:0  评论:0  赞:0  阅读:319
Java 语法 索引 ----- 泛型(Generics)
class B {}class A {}--------------------------class C {}interface I {}-----------------------class D {}class E {}参考文献: Java Quick Syntax Reference by ...
分类:编程语言   时间:2014-08-09 04:52:17    收藏:0  评论:0  赞:0  阅读:356
Java 语法 索引 ----- 继承(Inheritance) 和重写(Overriding)
// Superclass (parent class)class Fruit{ public String flavor;}// Subclass (child class)class Apple extends Fruit { public String variety;}//downcasti...
分类:编程语言   时间:2014-08-09 04:51:47    收藏:0  评论:0  赞:0  阅读:360
线程简单学习2
一、理解多线程多线程是这样一种机制,它允许在程序中并发执行多个指令流,每个指令流都称为一个线程,彼此间互相独立。线程又称为轻量级进程,它和进程一样拥有独立的执行控制,由操作系统负责调度,区别在于线程没有独立的存储空间,而是和所属进程中的其它线程共享一个存储..
分类:编程语言   时间:2014-08-09 02:49:58    收藏:0  评论:0  赞:0  阅读:360
Python简介及安装
Python的由来及发展史Python是一种解释型、面向对象、动态数据类型的高级程序设计语言,详细说明1989年Guido开始写Python语言的编译/解释器,1991年,第一个Python编译器(同时也是解释器)诞生,详细说明Python安装及应用在Python官网的下载页有两个版本3.x和2.x,为什么会有两..
分类:编程语言   时间:2014-08-09 02:42:08    收藏:0  评论:0  赞:0  阅读:1808
重温java中的String,StringBuffer,StringBuilder类
在 java 语言中, 用来处理字符串的的类常用的有 3 个: String、StringBuffer、StringBuilder。...
分类:编程语言   时间:2014-08-09 02:38:27    收藏:0  评论:0  赞:0  阅读:390
Java 语法 索引 ----- 条件语句(If Else,Switch)
if (x 1) System.out.print(x + " > 1");else System.out.print(x + " == 1");Switchswitch (y){ case 0: System.out.print(y + " is 0"); break; case 1: Syste...
分类:编程语言   时间:2014-08-09 02:35:12    收藏:0  评论:0  赞:0  阅读:360
Java 语法 索引 ----- 运算符
算术运算符 float x = 3+2; // 5 // addition 加x = 3-2; // 1 // subtraction 减x = 3*2; // 6 // multiplication 乘x = 3/2; // 1 // division 除x = 3%2; // 1 // modu...
分类:编程语言   时间:2014-08-09 02:34:57    收藏:0  评论:0  赞:0  阅读:288
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!