会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BenjaminJobs
博客园
首页
新随笔
联系
订阅
管理
2022年7月8日
标识符和注释
摘要: 单行注释用“//xxxxxxxxx//”表示 多行注释用“/*xxxxx xxxxxxx xxxxxxxx xxxxxxx*/”表示 文本注释用的很少 标识符有8类,整数型包括byte,short,int,long;浮点型包括float,double;布尔型Boolean一种;以及字符型char。
阅读全文
posted @ 2022-07-08 09:59 SecondJobs
阅读(155)
评论(0)
推荐(0)
2022年7月6日
尝试写第一个程序,Hello world
摘要: 文件名:Hello public class Hello{ public static void main(String[]args){ System.out.print("Hello,World!"); } } 基本写法就是上面的样子,但是我总是容易忘记的点: 1.分号 2.“{}”这个符号没写对
阅读全文
posted @ 2022-07-06 10:01 SecondJobs
阅读(32)
评论(0)
推荐(0)
公告