package com.jim;/** * Created by zj on 15/12/2. */public class Demo { public void say(){ System.gc(); System.out.println("你索啊--------...
分类:
编程语言 时间:
2015-12-02 16:17:05
阅读次数:
139
多重if_else:package com.dengchaoqun.ht;public class Double_For02 { /** * * 打印乘法表 */ public static void main(String[] args) { for (int i = 1; i < 10...
分类:
编程语言 时间:
2015-12-02 14:41:01
阅读次数:
166
出现原因:拷贝下来的代码缺少{左大括号然后运行时run as 没有选到java application是因为没有main方法加个public static void main(String() args){}就可以了
分类:
其他好文 时间:
2015-12-02 14:38:57
阅读次数:
107
C++DFS 1 class Solution { 2 public: 3 void help(vector &a, int now, int sum, int target, vector &path, vector > &ans, bool last) { 4 if (s...
分类:
其他好文 时间:
2015-12-02 14:36:35
阅读次数:
149
两个整数交换位置的三种方法:package com.dengchaoqun.ht;import java.util.Scanner;public class Test {/** * * java中又两个整数,让其数据交换的集中方法 */ public static void main(String....
分类:
编程语言 时间:
2015-12-02 14:35:38
阅读次数:
125
1 public class ThrowsTest 2 { 3 public static void main(String[] args) 4 { 5 try 6 { 7 mothed(); 8 } 9 ...
分类:
其他好文 时间:
2015-12-02 14:24:54
阅读次数:
92
public class Solution { public void connect(TreeLinkNode root) { if (root == null) { return; } TreeLinkNode pre = r...
分类:
其他好文 时间:
2015-12-02 14:14:52
阅读次数:
98
以下内容是基于搜集整理的网上资料,供参考。nil:指向Objective C语言中对象的空指针,其定义值为(id)0。Nil:指向Objective C语言中类(Class)的空指针,其定义值为(Class)0。NULL:指向C语言中的标准空指针,其定义值为(void *)0。NSNull:在Obj...
分类:
编程语言 时间:
2015-12-02 14:12:34
阅读次数:
145
public class MySpinnerActivity extends Activity { private Spinner spinner; @Override protected void onCreate(Bundle savedInstanceState) { super.onCre....
分类:
移动开发 时间:
2015-12-02 14:10:58
阅读次数:
287
STL入门与简介
#include
#include //容器
#include//数组
#include //算法
using namespace std;
//实现一个类模板,专门实现打印的功能
template //类模板实现了方法
class myvectorprint
{
public:
void operator ()(const T &t)//重载,使用(),打印
{...
分类:
编程语言 时间:
2015-12-02 12:38:26
阅读次数:
301