逛奔的蜗牛

我不聪明,但我会很努力

   ::  :: 新随笔 ::  ::  :: 管理 ::
http://codemirror.net/

支持代码着色,自动缩进

 
posted on 2011-07-24 14:09 逛奔的蜗牛 阅读(5205) 评论(6)  编辑 收藏 引用 所属分类: Java其他编程

评论

# re: Java:非常优秀的代码在线编辑器 CodeMirror 2015-03-30 17:06 烦烦烦
// 百度定位相关
public LocationClient mLocationClient = null;
public BDLocationListener locationListener = new MyLocationListener();  回复  更多评论
  

# re: Java:非常优秀的代码在线编辑器 CodeMirror 2015-04-20 09:56 lulu
class TT implements Runnable {
int b = 100;

public synchronized void m1 () {
b = 1000;


}
}  回复  更多评论
  

# re: Java:非常优秀的代码在线编辑器 CodeMirror 2015-04-22 16:39 菜单

1
2
3
4
5
6
7
8
9
10
11
12
13
public class HelloWorld {

//Java程序的入口方法,程序将从这里开始执行

public static void main(String[] args) {

//向控制台打印一条语句

System.out.println("Helloworld!");

}

}  回复  更多评论
  

# re: Java:非常优秀的代码在线编辑器 CodeMirror 2015-05-16 21:16 和玉
public class HelloWorld{
public static void main(String[] args){
int x=1;
System.out.println("Before the Loop");
while (x<4){
System.out.println("In the loop");
System.out.println("Value of x is "+x);
x=x+1;
}
System.out.println("This is after the loop");
}
}  回复  更多评论
  

# re: Java:非常优秀的代码在线编辑器 CodeMirror 2015-07-04 10:11 wangxue
public class HelloWorld{
public static void main(String[] args){
int x=5,j;
j=func(x--,++x,++x);
System.out.println(j);
}

public int func(int a,int b,int c){
return (a+b+c);
}
}  回复  更多评论
  

# re: Java:非常优秀的代码在线编辑器 CodeMirror 2015-12-09 18:21 多福多寿
@菜单
可以给我一下java代码在线编译自动联想功能吗  回复  更多评论
  


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理