文章分类 -  黑马Java

黑马程序 学习 笔记
摘要: 阅读全文
posted @ 2022-08-22 07:50 是貓阿啊 阅读(30) 评论(0) 推荐(0)
摘要:package com.mao.two; import java.util.regex.Matcher; import java.util.regex.Pattern; public class RegexDemo04 { public static void main(String[] args) 阅读全文
posted @ 2022-08-20 09:00 是貓阿啊 阅读(41) 评论(0) 推荐(0)
摘要:package com.mao.two; public class RegexDemo01 { public static void main(String[] args) { String qq = "1234567890"; //正则表达式 System.out.println(qq.match 阅读全文
posted @ 2022-08-18 08:33 是貓阿啊 阅读(24) 评论(0) 推荐(0)
摘要:package com.mao.two; import java.math.BigDecimal; public class BigDecimalDemo01 { public static void main(String[] args) { //1.通过传递double类型的小数来创建对象 这方 阅读全文
posted @ 2022-08-18 08:12 是貓阿啊 阅读(41) 评论(0) 推荐(0)
摘要:package com.mao.one; import java.math.BigInteger; import java.util.Random; public class BigintegerDemo01 { public static void main(String[] args) { // 阅读全文
posted @ 2022-08-17 15:11 是貓阿啊 阅读(32) 评论(0) 推荐(0)
摘要:package com.mao.one; public class ObjectDemo01 { public static void main(String[] args) { //1.toString Object obj = new Object(); String str1 = obj.to 阅读全文
posted @ 2022-08-17 07:10 是貓阿啊 阅读(51) 评论(0) 推荐(0)
摘要:Runtime Runtime package com.mao.one; import java.io.IOException; public class RuntimeDemo01 { public static void main(String[] args) throws IOExceptio 阅读全文
posted @ 2022-08-16 18:13 是貓阿啊 阅读(75) 评论(0) 推荐(0)
摘要:package com.mao.one; public class SystemDemo01 { public static void main(String[] args) { //方法的形参 //状态码: //0:代表虚拟机正常停止 //非0:(常用1) 表示虚拟机异常停止 // System. 阅读全文
posted @ 2022-08-16 14:07 是貓阿啊 阅读(80) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-16 07:00 是貓阿啊 阅读(38) 评论(0) 推荐(0)
摘要:# 以后工作的时候拿到一个需求之后: * 分析业务逻辑* 分析所需要的技术点 ## 1,所需要的技术点 在这个界面中,我们需要哪些技术点: 整个的菜单就是JMenuBar 功能,关于我们:JMenu 更换图片:JMenu 重新游戏,重新登录,关闭游戏,美女,动物,运动:JMenuItem 特点:如果 阅读全文
posted @ 2022-08-14 07:00 是貓阿啊 阅读(137) 评论(0) 推荐(0)
摘要:package com.mao.test; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class Test2 { public stati 阅读全文
posted @ 2022-08-12 07:26 是貓阿啊 阅读(52) 评论(0) 推荐(0)
摘要:集合只能存引用数据类型,不能存基本数据类型, 集合添加进去,会自动增加集合长度 创建格式: ArrayList<String> list = new ArrayList<>(); 基本数据类型对应的包装类 byte Byte short Short char Character int Intege 阅读全文
posted @ 2022-08-10 19:22 是貓阿啊 阅读(14) 评论(0) 推荐(0)
摘要:什么是变量? 变量就在程序中临时存储数据的容器。但是这个容器中只能存一个值。 变量的定义格式 数据类型 变量名 = 数据值; 格式详解: 数据类型:限定了变量当中能存储什么类型的数据。 如果要存10,那么数据类型就需要写整数类型。 如果要存10.0,那么数据类型就需要写小数类型。 变量名:其实就是这 阅读全文
posted @ 2022-08-10 19:22 是貓阿啊 阅读(75) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-10 18:36 是貓阿啊 阅读(14) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-10 18:10 是貓阿啊 阅读(17) 评论(0) 推荐(0)
摘要:总结: 阅读全文
posted @ 2022-08-10 15:12 是貓阿啊 阅读(15) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-10 10:15 是貓阿啊 阅读(28) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-10 08:41 是貓阿啊 阅读(17) 评论(0) 推荐(0)
摘要:代码块: 局部代码块: 构造代码块: 以上两个都渐渐被淘汰了 静态代码块: 总结: 阅读全文
posted @ 2022-08-10 07:36 是貓阿啊 阅读(28) 评论(0) 推荐(0)
摘要:final 阅读全文
posted @ 2022-08-10 07:27 是貓阿啊 阅读(19) 评论(0) 推荐(0)