摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2020-10-21 17:07 晗晗晗 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2020-10-13 16:16 晗晗晗 阅读(72) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2020-10-01 08:44 晗晗晗 阅读(88) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2020-09-22 16:44 晗晗晗 阅读(181) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" x 阅读全文
posted @ 2020-09-22 16:10 晗晗晗 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-29 20:46 晗晗晗 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1.需求说明:使用HashMap存储多个企鹅信息,然后统一使用Iterator进行遍历 2.需求说明:在上机3的基础上,为企鹅添加一个编号,并作为键存储多个企鹅信息到应用泛型的HashMap集合。使用Iterator、foreach语句进行遍历 package asd; import java.ut 阅读全文
posted @ 2020-06-17 09:26 晗晗晗 阅读(148) 评论(0) 推荐(0) 编辑
摘要: package practice; public class homework{ public static void main(String[] args) { show(); } public static void show() { Collection<String> a = new Arr 阅读全文
posted @ 2020-06-02 19:39 晗晗晗 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 上机练习1.编写一个随机生成 10个 0(包括) 到 100 之间的随机正整数。2.通过电子版教材或者视频,自学Date类和SimpleDateFormat类,用以下格式输出 系统当前时间公元2020年05月28日:今天是2020年的第149天,星期四3.输入一个邮箱地址,判断是否合法.如果合法,输 阅读全文
posted @ 2020-05-28 11:51 晗晗晗 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.编写一个程序,实现字符串大小写的转换并倒序输出。要求如下(1)使用for循环将字符串“ Hello world”从最后一个字符开始遍历(2)遍历的当前字符如果是大写字符,就使用 toLower Case()方法将其转换为小写字符,反之则使用 toUpper Case()方法将其转换为大写字符。( 阅读全文
posted @ 2020-05-25 20:49 晗晗晗 阅读(115) 评论(0) 推荐(0) 编辑