小编Abh*_*hek的帖子

大字符串在java中分割成具有最大长度的行

String input = "THESE TERMS AND CONDITIONS OF SERVICE (the Terms) ARE A LEGAL AND BINDING AGREEMENT BETWEEN YOU AND NATIONAL GEOGRAPHIC governing your use of this site, www.nationalgeographic.com, which includes but is not limited to products, software and services offered by way of the website such as the Video Player, Uploader, and other applications that link to these Terms (the Site). Please review the Terms fully before you continue to use the Site. By using the Site, you agree …
Run Code Online (Sandbox Code Playgroud)

java regex string split word-wrap

21
推荐指数
4
解决办法
4万
查看次数

关于java中的注释行的问题(eclipse)

这有什么区别

/**
 * comment goes here (notice the extra '*' in previous line)
 */
Run Code Online (Sandbox Code Playgroud)

还有这个?

/*
 * comment goes here (notice the extra '*' is not present in previous line)
 */
Run Code Online (Sandbox Code Playgroud)

因为我注意到在eclipse中这两种评论风格有不同的颜色.第一个获得蓝色,第二个获得绿色.

这两种评论风格有什么区别吗?

java eclipse comments

4
推荐指数
1
解决办法
865
查看次数

标签 统计

java ×2

comments ×1

eclipse ×1

regex ×1

split ×1

string ×1

word-wrap ×1