
UCB CS61B: Java
文章平均质量分 95
元媛媛
这个作者很懒,什么都没留下…
展开
-
韩顺平Java | C27 正则表达式
需求:提取文本中某类字符传统方法:遍历每个字符,判断其是否在ASCII码中某种类型得编码范围内,代码量大,效率不高正则表达式(RegExp, regular expression):处理文本的利器,是对字符串执行模式匹配的技术。java\javascript\php等语言都支持。原创 2024-04-18 22:47:47 · 449 阅读 · 0 评论 -
[end] CS61B Java06|Proj1: LinkedListDeque
创建自己的数据结构,实现双端队列deque(Double Ended Queue, 发音“deck”)。支持双端插入和移除的线性集合,支持容量限制的活没有固定大小的Deque。原创 2023-08-27 17:35:27 · 439 阅读 · 0 评论 -
[end] CS61B Java 02: HW0A&B A Java Crash Course
void。原创 2023-05-08 23:24:43 · 157 阅读 · 0 评论 -
Java自学 | 在实践中完善知识结构
error: duplicate class: Main程序只需要一个入口,即只有一个类包含main方法,其他类都是用于被main方法直接或间接调用的。error: non-static method print() cannot be referenced from a static context描述:在静态上下文中无法引用非静态方法error: cannot find symbol描述:无法找到符号...............原创 2023-03-29 20:49:35 · 575 阅读 · 0 评论 -
[end] CS61B Java 04: Lab02 Debugging
In the debugger, you have a few options:Click to resume the program (until it hits another breakpoint or terminates).Click to advance the program by one line of code. does something similar, but it will step into any method called in the current line原创 2023-04-11 12:46:53 · 466 阅读 · 0 评论 -
[end] CS61B Java 03: Proj 0
We know:1 Fill in the method.2 Write helper methods. For example, which returns a frequency map, that takes as input a list of words and a pattern, and only returns words that match.3 Write code to verify the helper methods work. We can do this by ad原创 2023-05-08 23:26:24 · 480 阅读 · 0 评论 -
[end] CS61B Java 01: Lab01 Setup | IntelliJ, Git
Setup: Java, Terminal and Git&Github原创 2023-03-16 08:19:58 · 595 阅读 · 0 评论