本次内容:java常用类1、包装类 1 package array; 2 3 public class
wrapperclass { 4 public static void main(String[] args) 5 { 6 Integer i=new
Inte...
分类:
编程语言 时间:
2014-05-01 09:16:28
阅读次数:
384
When multiple threads share mutable data, each
thread that reads or writes the data must perform synchronization. Without
synchronization, there is no...
分类:
数据库 时间:
2014-05-01 09:14:25
阅读次数:
506
又是一道简单并查集#include#include#include#include#include#include#include#include#include#include#include#define
inf 0x0f0f0f0fusing namespace std;const doub....
分类:
其他好文 时间:
2014-05-01 09:12:36
阅读次数:
289
E - 休生伤杜景死惊开Time Limit: 3000/1000MS (Java/Others)
Memory Limit: 65535/65535KB
(Java/Others)SubmitStatus陆伯言军陷八卦阵之中,分明只是一条直路,却怎的也走不到尽头。阵中尽是石堆,以某一石堆为参考,....
分类:
其他好文 时间:
2014-05-01 09:09:18
阅读次数:
380
首先想到的是,将这个数进行素因子分解,得到所有的因子,然后取最大的。
首先写一个判断一个数是否是素数的方法: #judge a number whether a prime def
judgePrime(self,number,pme): if number < 2: ...
分类:
编程语言 时间:
2014-05-01 09:05:26
阅读次数:
3333
一、Object类介绍
Object类是所有JavaScript类的基类(父类),提供了一种创建自定义对象的简单方式,不再需要程序员定义构造函数。二、Object类主要属性
1.constructor:对象的构造函数。 2.prototype:获得类的prototype对象,static性质。...
分类:
编程语言 时间:
2014-05-01 09:04:11
阅读次数:
318
告诉你若干个( 2 #include 3 #include 4 #include 5
#include 6 #include 7 #include 8 #include 9 #include 10 using namespace std; 11
12 #define...
分类:
其他好文 时间:
2014-05-01 09:01:34
阅读次数:
360
用C#代码实现二进制与十进制的互相转换代码如下:123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676...
分类:
其他好文 时间:
2014-05-01 09:00:57
阅读次数:
323
我的strcat: 1 char *strcat(char *dest,char *src)
2 { 3 char * reval = dest; 4 while(*dest) 5 dest++; 6 while(*src) 7 *dest++...
分类:
其他好文 时间:
2014-05-01 08:59:02
阅读次数:
484
一、澄清概念 1.JS中"基于对象=面向对象"
2.JS中没有类(Class),但是它取了一个新的名字叫“原型对象”,因此"类=原型对象"二、类(原型对象)和对象(实例)的区别与联系
1.类(原型对象)是抽象,是概念的,代表一类事物。 2.对象是具体的,实际的,代表一个具体的事物。 3.类...
分类:
编程语言 时间:
2014-05-01 08:57:42
阅读次数:
408