I received my Xtool VAG401 scanner recently around $ 100 with DHL shipment to my place. Tried it out straightly on my 2005 Passat and found it quite e...
分类:
其他好文 时间:
2015-03-10 16:45:56
阅读次数:
131
类必须先定义才能使用。类是创建对象的模板,创建对象也叫类的实例化。下面通过一个简单的例子来理解Java中类的定义:public class Dog{ String name; int age; void bark(){ // 汪汪叫 System.out.println("汪汪,不要过来"); } ...
分类:
编程语言 时间:
2015-03-10 13:30:34
阅读次数:
177
题意: 求有多少对质数(a,b)满足ausing namespace std;const int INF = 1000002;bool f[INF];int ok[80000],out[10000];int n, sum, ans;void sift (int n) { for (int i...
分类:
其他好文 时间:
2015-03-09 23:57:47
阅读次数:
151
#include #include // 函数原形定义
#define uchar unsigned char void main (void); // 主函数
void LED_out(uchar X); // LED单字节串行移位函数
void LED_print (uchar p, uchar...
分类:
其他好文 时间:
2015-03-09 22:22:35
阅读次数:
276
String strs = null;// System.out.println("HELLO="+strs.equals("01")); //报错 System.out.println("HELLO2="+("01").equals(strs)); //返回fa...
分类:
其他好文 时间:
2015-03-09 20:36:57
阅读次数:
148
Problem HHARDLY HARDYou have been given the task of cutting out a quadrilateral slice of cake out of a larger, rectangular cake. You must find the sli...
分类:
其他好文 时间:
2015-03-09 19:03:35
阅读次数:
146
Framework中的app为什么在编译的时候需要到源码中编译:
因为缺少必要的包(源码)----在连接的时候是以class文件来连接编译的
以Systemeui为例:
缺少这个包
寻找android源码的时候可以找到这个包:
知道framework在编译的时候会打包自己的java源文件,于是在打包的out文件中寻找打包的这个 :其实也是能够找到的:
...
分类:
移动开发 时间:
2015-03-09 17:32:42
阅读次数:
243
下面是一段java代码:
package chapter5.game;
class Subject{
int num;
public void print(){
System.out.println("Subject");
}
}
class ChildClass extends Subject
{
public void print(int i){
System.out.p...
分类:
编程语言 时间:
2015-03-09 16:15:02
阅读次数:
153
3.1public class test { public static void main(String[] args) { System.out.println("Enter a, b, c: "); Scanner input = new Scanner(Sy...
分类:
编程语言 时间:
2015-03-09 14:24:26
阅读次数:
172
Combinations问题:Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.思路: dfs + 回溯我的代码:学习之处:常见的dfs+回溯模板 void dfs(){ ...
分类:
其他好文 时间:
2015-03-09 12:46:28
阅读次数:
150