会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
订阅
管理
上一页
1
2
3
4
5
2022年4月16日
Day4 闰年的计算
摘要: if-else的懒得写了 1 import java.util.*; 2 public class LeapYear { 3 4 public static void main(String args[]) { 5 //scan 6 Scanner scan = new Scanner(System
阅读全文
posted @ 2022-04-16 16:01 滑稽的炒饭
阅读(31)
评论(0)
推荐(0)
2022年4月15日
Day3 基本if语句
摘要: 1 public class IfStatement { 2 3 public static void main(String args[]) { 4 int tempNumber1, tempNumber2; 5 tempNumber1 = 5; 6 if (tempNumber1 >= 0) {
阅读全文
posted @ 2022-04-15 19:57 滑稽的炒饭
阅读(147)
评论(0)
推荐(0)
Day2 加减乘除
摘要: 1 public class BasicOperations{ 2 3 public static void main(String args[]) { 4 int tempFirstInt, tempSecondInt, tempResultInt; 5 double tempFirstDoubl
阅读全文
posted @ 2022-04-15 19:45 滑稽的炒饭
阅读(23)
评论(0)
推荐(0)
日撸 Java 三百行 Day1 HelloWorld
摘要: 跟着闵老师写点java,希望自己能坚持,如果没坚持那当我没说 1 public class HelloWorld{ 2 3 public static void main(String[] args){ 4 5 System.out.println("HelloWorld!"); 6 7 } 8 9
阅读全文
posted @ 2022-04-15 19:44 滑稽的炒饭
阅读(36)
评论(0)
推荐(0)
上一页
1
2
3
4
5
公告