摘要:
遍历集合时我们可以使用遍历器。 1 package com.hw.ArrayListDemo0131; 2 import java.util.ArrayList; 3 import java.util.Iterator; 4 public class ArrayListDemo { 5 public 阅读全文
posted @ 2021-02-02 22:26
EvanTheBoy
阅读(134)
评论(0)
推荐(0)
摘要:
说明: Java中的集合比数组更加方便。首先一点,数组的长度是固定的,一旦确定之后,便无法改变长度,但是,集合的大小是可变的,可随意添加或删除,并且不需说明大小。 添加数据:集合就是一个容器,容器是用来放东西的,因此,集合就是用来放数据的,并且集合可放置任意类型的数据。习惯上都会放置同种类型的数据。 阅读全文
posted @ 2021-02-02 21:31
EvanTheBoy
阅读(95)
评论(0)
推荐(0)
摘要:
在网页中插入表格。具体标签和属性都已在代码的注释中给出: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>流年笑掷,未来可期</title> 5 <meta http-equiv="Content-Type" content= 6 "text/html;ch 阅读全文
posted @ 2021-02-02 21:01
EvanTheBoy
阅读(115)
评论(0)
推荐(0)
摘要:
说明:我们可以通过超链接实现跳转。 代码: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>这里是卖报的小画家</title> 5 <meta http-equiv="Content-Type" content= 6 "text/html;charset=u 阅读全文
posted @ 2021-02-02 20:11
EvanTheBoy
阅读(271)
评论(0)
推荐(0)

浙公网安备 33010602011771号