文章列表
 
2011-08-17 17:57

operators

1. Assignment, Arithmetic, and Unary Operators

2. Assignment, Arithmetic, and Unary Operators

The Type Comparison Operator instanceof 这个是比较special的。
The instanceof operator compares an object to a specified type. You can use it to test if an object is an instance of a class, an instance of a subclass, or an instance of a class that implements a particular interface.

 
2011-08-17 14:05

在英语口语中重音非常重要,native speaker非常自然地使用重音,但是non-active speaker却不知道应该把重音放在哪个音节syllable上。

每个单词都有1个2个甚至更多的重音。

在英语中,我们只大声地强调一个重音,而其他的音节都很小声。

我们来看下面三个单词,在表达不同意思的时候重音是不一样的。

photograph, photographer and photographic

两条重要的rules:

1. 一个单词只有一个重音。

2. 重音都是在vowel元音上。

有一些rules

 
2011-08-14 10:59

The Java programming language defines the following kinds of variables:
1. Instance Variables (Non-Static Fields)
2. Class Variables (Static Fields):A class variable is any field declared with the static modifier; this tells the compiler that there is exactly one copy of this variable in existence, regardless of how many times the class has been instantiated.Additionally, the keyword final could be added to indicate that the number of gears will never change.
3. Local Variable

 
2011-08-10 21:12

Nested classes 分为两种: static and non-static. Nested classes that are declared static are simply called static nested classes. Non-static nested classes are called inner classes.

原型如下:

class OuterClass {
    ...
    static class StaticNestedClass {
        ...
    }
    class InnerClass {
        ...
  

 
2011-08-06 19:46

class declarations includes:

1. Modifiers such as public, private.

2. class name.

3. the name of the class's parent(sperclass), if any. use extends.

4. class body

constructor的声明与method的声明差不多,constuctor的声明使用class的名字,且没有返回值。你不可以写两个一样的构造函数,使用相同数目和类型的arguments。

Parameters(形参)指的是methods声明时候的 list of variables,耳arguments(实参)是当method is invoked

 
2011-08-04 16:33

因为要开发Andorid使用到Java,之前一直都是用C,现在有机会学习object-oriented programming。

可以到http://download.oracle.com/javase/tutorial/java/index.html官网上去看文章。

首先学习的是Object-包括fields及methods。记住这一句话:Hiding internal state and requiring all interaction to be performed through an object's methods is known as data encapsulation — a fundamental principle of object-oriented

 
2011-08-04 16:26

因为想要开发一个自行车上的测速仪,所以想在手机上做一个软件,像电脑上上的CPU使用记录可以实时将速度绘制出来。

首先登陆http://developer.android.com/android开发的官网,按照里面的步骤下载SDK,然后还要安装,这个需要很长时间,要下载platform还有sample,tools。

下载Eclipse,这个是程序的开发工具,当然你也可以不用下载,直接用sdk里面的tools,但是使用工具会事半功倍,然后再在Eclipse 里安装ADT。

然后就可以来开发程序了,最简单的就

 
2011-03-29 16:56

我们知道在显示属性里面有居中/平铺/拉伸,但是如果想要壁纸原始大小显示在任何位置要怎么办呢?

打开注册表(开始-运行-regedit),找到 “HKEY_CURRENT_USER\Control Panel\Desktop”,在右边新建一个名为“WallpaperOriginX”字符串,使壁纸从桌面的X点坐标处开始,之后在新建一个名为“WallpaperOriginY”字符串,使壁纸从桌面的Y点坐标处应用,它们的范围是按当前的分辨率计算的(http://zhidao.baidu.

 
2011-03-29 16:35
如果你的UltraEdit在打开一些文件格式时,经常提示“文件可能不是DOS格式,你要转换 File 为 DOS 格式吗?”(英文版则提示"File is probably not DOS format","Do you want to convert?to DOS format?"),是不是很扰人呢? 以下的做法可以设置让UltraEdit再也不弹出文件转换的警告:

UltraEdit Version 9版本的方法:

打开菜单栏的高级 > 配置 > 一般 (英文版则是Advanced > Configuration > General),把自动检测Unix文件(Auto Detect Unix Files)取
 
2011-03-29 11:42

非常好的小工具。还可以选择主题。。。

download:http://download.csdn.net/source/1039424

 
   
 
 
文章分类
 
 
 
 
 
 
 
 
 
It(5)
 
 
 
 
 
 
 
 
 
 
 
 
Nba(1)
 
 
 
Life(0)
 
 
   
 
文章存档
 
     
 
最新文章评论
  

挺好的
 

lvxin007@126.com 谢谢
 

非常感谢
 

比如说出现连续的1或者0,则低频分量多。
 

回复wwwhhhjjjnnn:呵呵,我发论文的时候只要有人对我说把他名字加上去,我都加上去
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu