Java没有引用传递只有按值传递,没有引用传递只有按值传递,值传递。通过下面代码解释: 1 public class Test { 2 public static void main(String[] args ){ 3 int var = 1 ; 4 ...
分类:
编程语言 时间:
2015-11-14 13:48:31
阅读次数:
275
第一种:继承于UITabBarController的自定义- (void)viewDidLoad{ [super viewDidLoad]; [self creatViewController]; self.tabBar.hidden =YES;//隐藏系统Tabbar//方法一种的以下控件不建议用...
分类:
其他好文 时间:
2015-11-14 12:21:42
阅读次数:
216
package com.lhzh.cp07; public class ShuZuDEL0 { public static void main(String[] args) { int oldArr[]={1,3,4,5,0,0,6,6,0,5,4,7,6,7,0,5}; int n[]=new i...
分类:
编程语言 时间:
2015-11-14 09:56:36
阅读次数:
271
public static void FullOrMin(this Window window) { //如果是全屏,则最小化 if (window.WindowState == WindowState.Maximized) { window.Topmost = false; window.Wind...
#import "MyLabel.h"#import @implementation MyLabel+(void)setLabel:(UILabel *)custonLabel andContenStr:(NSString *)content andlineSpace:(CGFloat)lineSp...
分类:
其他好文 时间:
2015-11-14 06:28:37
阅读次数:
416
public void Regular_Expression() { WebClient wc = new WebClient(); // wc.Encoding = Encoding.Default; string ...
分类:
其他好文 时间:
2015-11-14 01:03:27
阅读次数:
308
体验Java编程过程 体验Java编程过程程序清单:Test.javaclass Test { public static void main(String [] args) { Syst...
分类:
编程语言 时间:
2015-11-13 23:38:27
阅读次数:
318
1、 阅读以下代码(CatchWho.java),写出程序运行结果:1) 源代码public class CatchWho{ public static void main(String[] args) { try { try { throw new ArrayIndexOutOfBoundsExc...
分类:
编程语言 时间:
2015-11-13 23:30:12
阅读次数:
331
/************打开相册*********/private int ABLUM = 1313;public void OpenAblum(){ Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType(".....
分类:
其他好文 时间:
2015-11-13 22:08:55
阅读次数:
373
tCPServer.java服务器的两个socket都没有关闭:s,ss.两个都是一直开启,然后数据才有显示 class tcpServer{ public static void main(String[] args) throws IOException{ //建立服务端s...
分类:
移动开发 时间:
2015-11-13 22:05:58
阅读次数:
359